Skip to main content

Module p224

Module p224 

Source

Structs§

PublicKey
P-224 (secp224r1) ECDSA public key.
SecretKey
P-224 (secp224r1) ECDSA secret key.

Constants§

ECDH_SHARED_SECRET_SIZE
Size of the raw ECDH shared secret in bytes (28 bytes). Must not be used directly as an encryption key; apply a KDF first.
PUBLIC_KEY_COMPRESSED_SIZE
Size of a compressed P-224 public key in bytes (29 bytes, includes 0x02/0x03 prefix).
PUBLIC_KEY_UNCOMPRESSED_SIZE
Size of an uncompressed P-224 public key in bytes (57 bytes, includes 0x04 prefix).
SECRET_KEY_SIZE
Size of a P-224 secret key in bytes (28 bytes).
SIGNATURE_SIZE
Size of a P-224 ECDSA signature in bytes (56 bytes, r || s).

Functions§

ecdh
is_valid_public_key