Encodes the secret key into a base64 string.
Converts the secret key into a raw byte vector.
Static
fromCreates a Curve25519SecretKey
from a base64-encoded representation of
the key.
Static
fromCreates a Curve25519SecretKey
from a raw byte slice.
Static
newGenerates a new random Curve25519 secret key.
A Curve25519 secret key.