Blockchain Commons Crypto TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function ed25519Verify

    • Verify an Ed25519 signature.

      Parameters

      • publicKey: Uint8Array

        32-byte Ed25519 public key

      • message: Uint8Array

        Original message that was signed

      • signature: Uint8Array

        64-byte Ed25519 signature

      Returns boolean

      true if signature is valid, false if signature verification fails

      If public key is not 32 bytes or signature is not 64 bytes