UNPKG

@plugnet/util-crypto

Version:
10 lines (9 loc) 219 B
export interface Keypair { publicKey: Uint8Array; secretKey: Uint8Array; } export interface Seedpair { publicKey: Uint8Array; seed: Uint8Array; } export declare type KeypairType = 'ed25519' | 'sr25519';