Update readme to pzp

This commit is contained in:
Jacob Karlsson 2024-04-27 22:50:33 +02:00
parent b30629bbc9
commit fc4c5777d0
1 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,12 @@
# ppppp-keypair # pzp-keypair
Like `ssb-keys`, but for PPPPP. Like `ssb-keys`, but for PZP.
API: ## Installation
`npm install pzp-keypair`
## API:
- `generate(curve?, seed?) => Keypair {curve, public, private}` - `generate(curve?, seed?) => Keypair {curve, public, private}`
- `sign(keypair, msg, hmacKey?) => sig` - `sign(keypair, msg, hmacKey?) => sig`