Coder Social home page Coder Social logo

elijahvlasov / keccak-circom-gadget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lurk-lab/keccak-circom-gadget

0.0 0.0 0.0 51 KB

Implementation of a Circom Gadge for the Keccak hasing algorithm.

License: GNU General Public License v3.0

JavaScript 51.70% Circom 48.30%

keccak-circom-gadget's Introduction

Circom Gadget: Keccak hashing algorithm

This repository implements the standard structure for a remote Circom Gadget over a Circom circuit for the Keccak hasing algorithm.

โš ๏ธ : This is still experimental, do not use in production.

Overview

The Keccak circuit we are using expects a 256-bits input and outputs and 256-bits digest. It has to be noted that it expects the bits of each bytes to be ordered from the to be ordered from the least significant (rightmost) to the most significant (leftmost).

The compiled assets (r1cs & wasm files) for each versions are accessible in their respective releases.

To understand how releases are handled, please refer to the Circom Gadget template README.

Test

Install dependencies:

$ npm i

And run tests:

$ npm run test

Contributing

When contributing, ensures that you properly update the Unreleased part of the Changelog. The details written in the section will be automatically used to generate the next release description.

Credits

This repository is based on the development done by @vocdoni.

keccak-circom-gadget's People

Contributors

tchataigner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.