mirror of
https://github.com/plume-sig/zk-nullifier-sig.git
synced 2026-01-10 21:38:05 -05:00
I believe these should be organized other way (divide the monorepo?). But @Divide-by-0 seems to really need something to start with rn
JavaScript implementation of the PLUME signature scheme.
API
sign(message, privateKey)
Signs a message using the provided private key.
message- String message to signprivateKey- Hex private key
Returns the PLUME signature.
verify(message, publicKey, signature)
Verifies a signature matches the message and public key.
message- Original string messagepublicKey- Hex public keysignature- PLUME signature
Returns true if the signature is valid, false otherwise.
License
MIT