@zk-kit/ecdh.circom

1.0.0-beta.1 • Public • Published

ECDH

A circuit to generate a shared secret from a private key and a public key on the Baby Jubjub curve.

NPM license NPM version Downloads

[!WARNING]
This library has not been audited.

🛠 Install

Install the @zk-kit/ecdh.circom package with npm:

npm i @zk-kit/ecdh.circom --save

or yarn:

yarn add @zk-kit/ecdh.circom

📜 Usage

Try out the circuit with Circom locally:

include "ecdh.circom";

component main = Ecdh();
circom -l ./node_modules/@zk-kit/echd.circom/src -l ./node_modules/circomlib/circuits your-circuit.circom

Readme

Keywords

none

Package Sidebar

Install

npm i @zk-kit/ecdh.circom

Weekly Downloads

0

Version

1.0.0-beta.1

License

MIT

Unpacked Size

4.71 kB

Total Files

4

Last publish

Collaborators

  • sripwoud
  • njofce
  • akinovak
  • cedoor