Structs§
- Private
Key - P-256 (secp256r1) ECDSA private key.
- Public
Key - P-256 (secp256r1) ECDSA public key.
Constants§
- ECDH_
SHARED_ SECRET_ SIZE - Size of the raw ECDH shared secret in bytes (32 bytes). Must not be used directly as an encryption key; apply a KDF first.
- PRIVATE_
KEY_ SIZE - Size of a P-256 private key in bytes (32 bytes).
- PUBLIC_
KEY_ COMPRESSED_ SIZE - Size of a compressed P-256 public key in bytes (33 bytes, includes 0x02/0x03 prefix).
- PUBLIC_
KEY_ UNCOMPRESSED_ SIZE - Size of an uncompressed P-256 public key in bytes (65 bytes, includes 0x04 prefix).
- SIGNATURE_
SIZE - Size of a P-256 ECDSA signature in bytes (64 bytes, r || s).