pub fn ed25519_signature(private_key: &[u8], data: &str) -> Result<String>
Expand description
Signs data
using Ed25519 with the provided private key seed.
ยงErrors
Returns an error if the provided private key seed is invalid or signature creation fails.