cryptonemo / rust-filcrypto-helpers Goto Github PK
View Code? Open in Web Editor NEWGo callable helper methods written in Rust (e.g. pedersen hash)
Go callable helper methods written in Rust (e.g. pedersen hash)
Feedback from @porcuquine:
"One thing which would be useful are some test vectors so we know this primitive is behaving as expected — before relying on it to establish parity of spec and implementation.
Would be good to check a variety of preimage sizes — maybe all multiples of 32 below some N (@jake might have insight as to a good number).
We could be put the rust versions in the src, then assert same results in the Go tests.
On naming: can we use names which reflect the purpose — which is a minimal library of primitive on which specs tests can depend? From that perspective PedersenHashFFI is a funny name. The consumer of this pedersen hash shouldn't care that there's an FFI involved.Likewise, I would leave pedersen hash out of the name, since it will be misplaced if we add something else (as could well be needed).
The spec has a section for libraries, with filproofs being a child of filcrypto. (thinking…)
Maybe something like filcrypto-helpersor filcrypto-aux would work for these purposes."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.