Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Free functions

is_valid_rsa2048_signature_assuming_encoded_messageVerify an RSA-2048 signature assuming the message is already encoded. Given public key n and signature data (s, m, 17 reduction witnesses), verifies s^{65537} ≡ m (mod n) by: 1….
is_valid_rsa2048_sha256_signatureVerify an RSA-2048 signature against a raw message using SHA-256. Computes SHA-256(message) on-chain, constructs the PKCS#1 v1.5 encoding,…