ED25519
Ed25519 signature algorithm. These functions are also compatible with the “Ed25519” function defined in RFC 8032. However, unlike RFC 8032's formulation, this package's private key representation includes a public key suffix to make multiple signing operations with the same key more efficient. Operations involving private keys are implemented using constant-time algorithms.
Sign the message with privateKey and returns a signature.