Files
zk-nullifier-sig/javascript
Sergey Kaunov e956b27ee1 Draft of <README.MD> for NPM (#103)
I believe these should be organized other way (divide the monorepo?). But @Divide-by-0 seems to really need something to start with rn
2024-02-29 23:46:39 +03:00
..
2023-11-18 20:48:24 +03:00
2023-11-18 20:48:24 +03:00
2023-11-18 20:48:24 +03:00
2023-02-12 05:46:33 -08:00
2023-11-18 20:48:24 +03:00
2024-02-29 18:52:09 +03:00
2023-11-18 20:48:24 +03:00
2024-02-29 23:46:39 +03:00
2023-11-18 20:48:24 +03:00
2023-11-18 20:48:24 +03:00

JavaScript implementation of the PLUME signature scheme.

API

sign(message, privateKey)

Signs a message using the provided private key.

  • message - String message to sign
  • privateKey - Hex private key

Returns the PLUME signature.

verify(message, publicKey, signature)

Verifies a signature matches the message and public key.

  • message - Original string message
  • publicKey - Hex public key
  • signature - PLUME signature

Returns true if the signature is valid, false otherwise.

License

MIT