py_ed25519_signature

Function py_ed25519_signature 

Source
pub fn py_ed25519_signature(private_key: &[u8], data: &str) -> PyResult<String>
Expand description

Ed25519 signature of data using the provided private key seed.

ยงErrors

Returns an error if the private key seed is invalid or signature creation fails.