Functions
getPublicKey
- getPublicKey(privateKey: Uint8Array, compressed: boolean): Uint8Array
Parameters
privateKey: Uint8Array
compressed: boolean
Returns Uint8Array
publicKeyConvert
- publicKeyConvert(publicKey: Uint8Array, compressed: boolean): Uint8Array
Parameters
publicKey: Uint8Array
compressed: boolean
Returns Uint8Array
sign
- sign(message: Uint8Array, privateKey: Uint8Array, options?: { canonical: boolean; extraEntropy?: true }): Promise<Uint8Array>
Parameters
message: Uint8Array
privateKey: Uint8Array
Optional options: { canonical: boolean; extraEntropy?: true }
canonical: boolean
Optional extraEntropy?: true
Returns Promise<Uint8Array>