Function forest_filecoin::key_management::wallet_helpers::sign
source ยท pub fn sign(
sig_type: SignatureType,
private_key: &[u8],
msg: &[u8],
) -> Result<Signature, Error>
Expand description
Sign takes in SignatureType
, private key and message. Returns a Signature
for that message