Go to file
Andre Staltz 16409daff6
just ubuntu in CI
2023-06-12 14:48:46 +03:00
.github/workflows just ubuntu in CI 2023-06-12 14:48:46 +03:00
lib replace Buffer with Uint8Array 2023-06-12 14:44:25 +03:00
test replace Buffer with Uint8Array 2023-06-12 14:44:25 +03:00
.gitignore init 2023-06-12 14:22:15 +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 init 2023-06-12 14:22:15 +03:00
tsconfig.json init 2023-06-12 14:22:15 +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)