Ed25519Private Key
Creates a new Ed25519PrivateKey with a randomly generated private key.
Default signature scheme is SignatureScheme.ED25519.
Parameters
scheme
The signature scheme to use.
Throws
If the signature scheme is not supported.
Creates a new Ed25519PrivateKey from an encoded private key.
The expected format is a Bech32 encoded private key.
Parameters
private Key
The encoded private key.
Throws
If the private key is invalid.