ed25519 signature verification

Constructors

Properties

Methods

Constructors

Properties

publicKey: UserPublicKey

Methods

  • Parameters

    • data: Buffer | Uint8Array<ArrayBufferLike>

      the raw data to be verified (e.g. an already-serialized enveloped message)

    • signature: Buffer | Uint8Array<ArrayBufferLike>

      the signature to be verified

    Returns boolean

    true if the signature is valid, false otherwise