Go to file
Andre Staltz 5f1df07ec2
another folder for .d.ts files
2023-06-25 16:39:43 +03:00
.github/workflows just ubuntu in CI 2023-06-12 14:48:46 +03:00
lib replace Uint8Array with b4a 2023-06-15 13:53:51 +03:00
test replace Uint8Array with b4a 2023-06-15 13:53:51 +03:00
.gitignore another folder for .d.ts files 2023-06-25 16:39:43 +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 another folder for .d.ts files 2023-06-25 16:39:43 +03:00
tsconfig.json another folder for .d.ts files 2023-06-25 16:39:43 +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)