@unirep/crypto
Client library for cryptography related functions which are used in UniRep protocol.
๐ Install
npm or yarn
npm i @unirep/cryptoyarn add @unirep/crypto๐ Usage
ZkIdentity
import { ZkIdentity } from '@unirep/crypto'
const identity = new ZkIdentity()const commitment = identity.genIdentityCommitment()const commitment = identity.identityNullifierIncrementalMerkleTree
SparseMerkleTree
Crypto utils
Last updated