@stricahq/bip32ed25519 - v2.0.0
    Preparing search index...

    Class PublicKey

    An Ed25519 public key, 32 bytes.

    Index
    • Parameters

      • publicKey: Uint8Array

        32 bytes, copied

      Returns PublicKey

    • The Blake2b-224 hash of the key, 28 bytes: the key hash in Cardano addresses and witnesses.

      Returns Uint8Array

    • A copy of the key's 32 bytes.

      Returns Uint8Array

    • Whether signature is this key's Ed25519 signature of message, by the rules of libsodium, which the Cardano ledger verifies with. A signature that is not 64 bytes is false.

      Parameters

      • signature: Uint8Array
      • message: Uint8Array

      Returns boolean