@hazae41/secp256k1
v2.0.8
Published
Secp256k1 for the web
Maintainers
Readme
Secp256k1
Secp256k1 for the web
npm install @hazae41/secp256k1Features
Current features
- 100% TypeScript and ESM
- No external dependencies
Usage
const key = secp256k1.SecretKey.random()
const msg = crypto.getRandomValues(new Uint8Array(32))
const sig = key.sign(msg)
const pub = secp256k1.PublicKey.recover(msg, sig)