Function fuel_vm::crypto::secp256k1_sign_compact_recoverable
source · [−]pub fn secp256k1_sign_compact_recoverable(
secret: &[u8],
message: &[u8]
) -> Result<Bytes64, Secp256k1Error>
Expand description
Sign a given message and compress the v
to the signature
The compression scheme is described in https://github.com/lazyledger/lazyledger-specs/blob/master/specs/data_structures.md#public-key-cryptography