Skip to main content
Voltaire implements Ethereum’s execution-layer, consensus-layer, and wallet cryptography behind data-first namespaces over Uint8Array. Select an algorithm by protocol requirement first, then by hardware and security constraints.

Algorithm Selection

Elliptic Curve Signatures: Secp256k1 vs P-256 vs Ed25519 vs BLS12-381

Field Primes and Curve Orders

Secp256k1 vs P-256 Usage

Ethereum externally owned accounts (EOAs), transaction signatures, EIP-712 typed data, and the 0x01 ECRECOVER precompile require secp256k1. Smart contract wallets using Face ID, Touch ID, Windows Hello, or FIPS-validated HSMs require P-256.

Hash Functions

Pairing-Friendly Curves

Symmetric Encryption

For authenticated encryption choices between AES-GCM and ChaCha20-Poly1305, see Symmetric Encryption Comparison.