Go to file
Andre Staltz c33980c580
improve package.json files field
2024-02-14 09:58:19 +02:00
.github/workflows just ubuntu in CI 2023-06-12 14:48:46 +03:00
lib fix KeypairPublicSlice type 2023-06-25 17:09:29 +03:00
test replace Uint8Array with b4a 2023-06-15 13:53:51 +03:00
.gitignore another try with .d.ts 2023-06-25 16:50:34 +03:00
.prettierrc.yaml init 2023-06-12 14:22:15 +03:00
LICENSE init 2023-06-12 14:22:15 +03:00
README.md init 2023-06-12 14:22:15 +03:00
package.json improve package.json files field 2024-02-14 09:58:19 +02:00
tsconfig.json another try with .d.ts 2023-06-25 16:50:34 +03:00

README.md

ppppp-keypair

Like ssb-keys, but for PPPPP.

API:

  • generate(curve?, seed?) => Keypair {curve, public, private}
  • sign(keypair, msg, hmacKey?) => sig
  • verify(keypair, msg, sig, hmacKey?) => boolean
  • create(filepath, cb)
  • load(filepath, cb)
  • loadOrCreate(filepath, cb)
  • createSync(filepath)
  • loadSync(filepath)
  • loadOrCreateSync(filepath)