Comments (4)
Hi @cfcs!
Note that this repo is rather minimalistic and it only implements Salsa20 Core functions, not even the Salsa20 encryption function (which I've mostly working at https://github.com/abeaumont/ocaml-salsa20). The reason for this is that Salsa20 Core functions are also used outside of Salsa20 encryption function (i.e. https://github.com/abeaumont/ocaml-scrypt-kdf).
Following this reasoning, I think that ChaCha20 deserves its own repo/package. Even if it's only slightly different to Salsa20, its differences are at all levels (quarterrounds, rounds, matrix, etc.), so at the end there's not much code to reuse (and the code is quite simple anyway).
That being said, I also want to see ChaCha20 implemented, so I may just create the new repo and write it. If you're in a rush or want to do it yourself please go ahead and just let me know, and I'll try to contribute as well.
from ocaml-salsa20-core.
PS: If you don't have time and would rather accept a PR, I'd be happy to do that. :)
from ocaml-salsa20-core.
Alright, that makes sense :) I have only done very little OCaml<->C integration, so I think you're much better equipped to do it than I am. I'll need it in 2-3 months from now, so I'll give it a go by then if this pesky "real life" thing has held you up; otherwise I'll just opam install chacha20
and live happily ever after. I'll ping you if I start writing code :)
from ocaml-salsa20-core.
Ok, I've created the repo https://github.com/abeaumont/ocaml-chacha20, you can watch it to keep updated =)
Closing this.
from ocaml-salsa20-core.
Related Issues (2)
- performance HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml-salsa20-core.