pub fn ed_sign(
public: &[u8],
secret: &[u8],
message: &[u8]
) -> PyResult<PySignature>
Signs a message with the given keypair, returning the resulting signature.
public
- The ed25519 public key, as an array of 32 bytes
secret
- The ed25519 private key, as an array of 32 bytes
message
- The binary message to sign.
A 64-byte signature.