pub fn sign_bytes(secret_key: &SecretKey, msg: &[u8]) -> Signature
Signs msg with secret_key: Ed25519ph, the message pre-hashed with SHA-512.
msg
secret_key
If secret_key is not an Ed25519 key.