Interface PrivateKey

Represents a private key used for signing messages and deriving the associated public key.

sign - Signs the given message with the private key.

publicKey - Derives the public key associated with the private key.

toUint8Array - Retrieves the private key in bytes.

interface PrivateKey {
    publicKey(): PublicKey;
    sign(message: HexInput): Signature;
    toUint8Array(): Uint8Array;
}

Implemented by

Methods