pub fn signature_as_secret(
	secp: &Secp256k1,
	signature: &Signature,
) -> Result<SecretKey, ErrorKind> {
	let ser = signature.to_raw_data();
	let key = SecretKey::from_slice(secp, &ser[32..])?;
	Ok(key)
}
/// Interpret the final 32 bytes of the signature as a secret key
Interpret the final 32 bytes of the signature as a secret key
Interpret the final 32 bytes of the signature as a secret key
pub fn signature_as_secret(
	secp: &Secp256k1,
	signature: &Signature,
) -> Result<SecretKey, ErrorKind> {
	let ser = signature.to_raw_data();
	let key = SecretKey::from_slice(secp, &ser[32..])?;
	Ok(key)
}
pub fn signature_as_secret ( secp : & Secp256k1 , signature : & Signature , ) -> Result < SecretKey , ErrorKind > { let ser = signature . to_raw_data ( ) ; let key = SecretKey :: from_slice ( secp , & ser [ 32 .. ] ) ? ; Ok ( key ) }
Interpret the final 32 bytes of the signature as a secret key
Interpret the final 32 bytes of the signature as a secret key
secp
&Secp256k1
signature
&Signature
secp
&Secp256k1
signature
&Signature