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