Skip to main content

sign_p256

Function sign_p256 

Source
pub fn sign_p256(
    key: &SigningKey,
    digest: &B256,
) -> Result<PrimitiveSignature, Error>
Expand description

Signs digest with the P-256 key as the 0x01 approval of a raw P-256 owner. The signature covers digest itself, without the SHA-256 pre-hash of WebCrypto keys.