View Source Secp256k1.Guards (secp256k1 v0.3.3)
Common guards for secp256k1 functions
Link to this section Summary
Functions
Is binary of specific size
Is compressed pubkey (probably) - binary 33 bytes long
Is ECDSA signature (probably) - binary 64 bytes long
Is hash (probably) - binary 32 bytes long
Is any type of pubkey (probably)
Is Schnorr signature (probably) - binary 64 bytes long
Is seckey (probably) - binary 32 bytes long
Is uncompressed pubkey (probably) - binary 65 bytes long
Is xonly pubkey (probably) - binary 32 bytes long
Link to this section Functions
Is binary of specific size
Is compressed pubkey (probably) - binary 33 bytes long
Is ECDSA signature (probably) - binary 64 bytes long
Is hash (probably) - binary 32 bytes long
Is any type of pubkey (probably)
Is Schnorr signature (probably) - binary 64 bytes long
Is seckey (probably) - binary 32 bytes long
Is uncompressed pubkey (probably) - binary 65 bytes long
Is xonly pubkey (probably) - binary 32 bytes long