The reference count retrieved by this method reflects the number of references maintained internally by libcardano-c for this native instance of the object. This is unrelated to the reference counting mechanism in JavaScript, which is managed by the JavaScript engine's garbage collector.
This method is primarily intended for diagnostic purposes.
The current reference count of the object in the WASM context.
Verifies a signature against a message using this Ed25519 public key.
The Ed25519Signature object to verify.
The message data that was signed as a Uint8Array.
true if the signature is valid, otherwise false.
StaticfromCreates an Ed25519 public key from raw bytes.
The raw byte data of the public key as a Uint8Array.
A new Ed25519PublicKey instance.
StaticfromCreates an Ed25519 public key from a hexadecimal string.
A string containing the hexadecimal representation of the public key.
A new Ed25519PublicKey instance.
Represents an Ed25519 public key in the Cardano ecosystem. This class provides methods for creating, managing, and performing cryptographic operations with Ed25519 public keys, including signature verification and hashing.