mirror of
https://github.com/chancehudson/poseidon-lite.git
synced 2026-05-04 03:01:22 -04:00
v0.0.2
poseidon-lite 
A stripped down poseidon implementation pulled from circomlibjs 0.0.8.
Use
import poseidon from 'poseidon-lite'
// pass an array to the function
// array length must be >= 1, and <= 16
// returns a BigInt
const hash = poseidon(['0x01', '0x02'])
Build
npm i
npm run build
npm test
Description
Languages
JavaScript
100%