| create_signature | Create a signature with known y_parity… |
| verify_ecdsa_signature_coords | Verify a Bitcoin ECDSA signature using Cairo’s built-in verification (legacy coords format) This function uses Cairo’s optimized ECDSA verification through public key recovery…. |
| verify_ecdsa_signature | Verify a Bitcoin ECDSA signature This function works with the new ByteArray-based BitcoinPublicKey structure that properly represents Bitcoin’s 33-byte compressed or 65-byte uncompressed format…. |
| verify_ecdsa_signature_auto_recovery | Verify a Bitcoin ECDSA signature with automatic y_parity detection This function tries both y_parity values (false and true) to find a match… |
| verify_der_signature | Verify a DER-encoded Bitcoin signature This function parses a DER-encoded signature and verifies it against the provided message hash and public key. Since DER signatures don’t… |
| parse_der_signature | Parse DER-encoded signature using ByteArray utilities… |
| mod_inverse | Calculate modular inverse using Fermat’s little theorem for prime modulus For secp256k1 curve order n (which is prime), we use Fermat’s little theorem:… |
| create_signature_hash | Create a signature hash for transaction signing using ByteArray… |
| verify_transaction_signature | Verify a signature against transaction data… |