SecretKeys
For the complete documentation index, see llms.txt
@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
32바이트 시드로부터 비밀 키를 도출합니다.
Parameters
seed
Uint8Array<ArrayBufferLike>
Returns
fromSeedRng()
static fromSeedRng(seed): SecretKeys
더 이상 사용되지 않는 구현을 사용하여 32바이트 시드로부터 비밀 키를 도출합니다. 호환성 목적으로만 사용하세요.
Parameters
seed
Uint8Array<ArrayBufferLike>