SecretKeys
@midnight/zswap / SecretKeys
Class: SecretKeys
Properties
coinPublicKey
readonly coinPublicKey: string;
coinSecretKey
readonly coinSecretKey: CoinSecretKey;
encryptionPublicKey
readonly encryptionPublicKey: string;
encryptionSecretKey
readonly encryptionSecretKey: EncryptionSecretKey;
Methods
fromSeed()
static fromSeed(seed): SecretKeys
Derives secret keys from a 32-byte seed
Parameters
seed
Uint8Array<ArrayBufferLike>
Returns
fromSeedRng()
static fromSeedRng(seed): SecretKeys
Derives secret keys from a 32-byte seed using deprecated implementation. Use only for compatibility purposes
Parameters
seed
Uint8Array<ArrayBufferLike>