Function edcert::ed25519::sign [] [src]

pub fn sign(data: &[u8], private_key: &[u8]) -> Vec<u8>

This method takes a data vector and a private key and computes the signature which can be verified using the public key.