pzp-keypair
v1.0.0
Published
Keyfile operations for PZP
Downloads
2
Readme
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)