@me2em/core
    Preparing search index...

    Function verify

    • Verifies an Ed25519 signature (synchronous).

      Parameters

      • signature: Uint8Array

        The 64-byte signature.

      • message: Uint8Array

        The signed message bytes.

      • publicKey: Uint8Array

        The 32-byte signer public key.

      • Optionalopts: TArg<EdDSAVerifyOpts>

        Optional verification options, forwarded to the underlying implementation.

      Returns boolean

      true if the signature is valid, false otherwise.

      TypeError if an input length is invalid.

      RangeError if an input length is invalid.