Interface CryptoImplementation
Properties
createKeyPairFromPrivateKey
create
KeyPairFromPrivateKey: (privateKey: Uint8Array) => Promise<KeyPair>
Type declaration
-
- (privateKey: Uint8Array): Promise<KeyPair>
-
Parameters
Returns Promise<KeyPair>
sign
sign
: (keyPair
: KeyPair, data
: Uint8Array) => Promise<Uint8Array>
Type declaration
-
- (keyPair: KeyPair, data: Uint8Array): Promise<Uint8Array>
-
Parameters
Returns Promise<Uint8Array>