Constructors
constructor
- new Ed25519Keypair(privkey: Uint8Array, pubkey: Uint8Array): Ed25519Keypair
Parameters
privkey: Uint8Array
pubkey: Uint8Array
Properties
Readonly privkey
privkey: Uint8Array
Readonly pubkey
pubkey: Uint8Array
Methods
toLibsodiumPrivkey
- toLibsodiumPrivkey(): Uint8Array
Static fromLibsodiumPrivkey
Parameters
libsodiumPrivkey: Uint8Array