interface PrivateKeyInstance {
    base58: string;
    bytes: ArrayBufferLike;
    hex: Lowercase<string>;
    keccak256: ArrayBufferLike;
    public: PublicKeyInstance;
    sign: (hash: ArrayBufferLike) => ArrayBufferLike | Promise<ArrayBufferLike>;
    verify: (
        msg: ArrayBufferLike,
        signature: ArrayBufferLike,
    ) => boolean | Promise<boolean>;
}

Hierarchy

  • EllipticKeyInstance
    • PrivateKeyInstance

Properties

base58: string
bytes: ArrayBufferLike
hex: Lowercase<string>
keccak256: ArrayBufferLike
sign: (hash: ArrayBufferLike) => ArrayBufferLike | Promise<ArrayBufferLike>
verify: (
    msg: ArrayBufferLike,
    signature: ArrayBufferLike,
) => boolean | Promise<boolean>