Node.js
ECC Examples for Node.js
Generating Keys and Shared Secrets
- Generate an ECC Key
- Generate an ECC Key (Public and Private)
- Generate ECC Keys using Specified Values for K
- Generate ECDSA Key and Get Details as XML
- Generate Brainpool EC Keys (BP256R1, BP384R1, BP512R1, ...)
- secp256k1 Key Generation and Keccak-256
- How to Generate an Elliptic Curve Shared Secret
ECDSA Signatures
- ECDSA Sign Data and Verify Signature
- ECDSA Sign and Verify
- ECDSA Sign and Verify Data using Different Hash Algorithms
- Create ECSDA Signature using Raw r and s Format (not ASN.1)
- ECDSA Sign Data and Get Raw R and S Values
Key Formats and Conversion
- Get ECC Public Key from ECC Private Key
- Get an EC Key in Raw Hex Format
- Get Base64 Public Key from Private Key
- Understanding a few ECDSA Public Key Formats
- Load EC Public Key from X,Y Values (easier)
- Load EC Public Key from X,Y Values
JWK Format
- Get ECC Private Key in JWK Format (JSON Web Key)
- Get ECC Public Key in JWK Format (JSON Web Key)
- Load ECC Private Key from JWK Format (JSON Web Key)
- Load ECC Public Key from JWK Format (JSON Web Key)
- Compute JWK Thumbprint for RSA and EC Public Keys
- Compute JWK Thumbprint for RSA and EC Private Keys