Forró is an ARX-based cipher, similar to Salsa and ChaCha, but with faster diffusion.
Ref: Latin Dances Reloaded: Improved Cryptanalysis Against Salsa and ChaCha, and the Proposal of Forró
This is an implementation for Zig.
Forró : ARX-based cipher with faster diffusion than ChaCha.
License: Other
Forró is an ARX-based cipher, similar to Salsa and ChaCha, but with faster diffusion.
Ref: Latin Dances Reloaded: Improved Cryptanalysis Against Salsa and ChaCha, and the Proposal of Forró
This is an implementation for Zig.
This project looks very nice, but I would need a Java version of it.
Could you please translate it to Java source code or at least give me some tips on who could do this for me?
Thanks & best regards.
I believe I was the first person to implement HForró, and I noticed our implementations don't seem to be interoperable. I'm following the XChaCha draft/HSalsa20, which means the following indices:
mem.writeIntLittle(u32, out[0..4], x[6]);
mem.writeIntLittle(u32, out[4..8], x[7]);
mem.writeIntLittle(u32, out[8..12], x[14]);
mem.writeIntLittle(u32, out[12..16], x[15]);
mem.writeIntLittle(u32, out[16..20], x[4]);
mem.writeIntLittle(u32, out[20..24], x[5]);
mem.writeIntLittle(u32, out[24..28], x[12]);
mem.writeIntLittle(u32, out[28..32], x[13]);
x6/x7/x14/x15 are the constant, and x4/x5/x12/x13 are the nonce/input.
Forro rearranges the matrix and puts t_0 at word 4 and t_1 at word 5.
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.