@blockchaincommons/components - v1.0.0-beta.4
    Preparing search index...

    Class MLDSAPublicKey

    MLDSAPublicKey - Post-quantum signature verification key using ML-DSA.

    Implements

    • ToCbor
    • ToUR
    Index
    • Verify a signature against a message.

      Parameters

      • signature: MLDSASignature

        The ML-DSA signature to verify

      • message: Uint8Array

        The message that was signed

      Returns boolean

      True if the signature is valid

    • The first four bytes of reference() in hex, the reference's ref_hex_short.

      Returns string