reallyme-crypto-p521 0.1.3

P-521 ECDSA primitive for ReallyMe Crypto.
Documentation

reallyme-crypto-p521

NIST P-521 ECDSA and ECDH primitive for ReallyMe Crypto.

The public API uses compressed SEC1 public keys, raw 66-byte private scalars, SHA-512 prehashing, and DER-encoded ECDSA signatures. Secret key material is returned in zeroizing buffers.

Verification fails closed with a typed error. It does not return a boolean. ECDH returns the raw shared-secret x-coordinate; protocol code must pass that through the appropriate KDF before key use.

This Rust primitive is native-lane only. Swift, Kotlin, and TypeScript package facades expose provider-backed P-521 ECDH independently of this crate's pure host-provider wasm lane.