giacomopope / kyber-py Goto Github PK
View Code? Open in Web Editor NEWA pure python implementation of ML-KEM (FIPS 203) and CRYSTALS-Kyber
License: MIT License
A pure python implementation of ML-KEM (FIPS 203) and CRYSTALS-Kyber
License: MIT License
This is a really excellent repo. Creating a clear and readable version of crypto algorithms, especially (closer to) emerging ones, is such a great teaching tool. I really appreciate your work on this.
That's it, that's the issue! Thanks again ๐
(also- M1 Max benches come in around 2x the i7! ๐)
(using os.urandom)
-------------------------
Kyber512 | (1000 calls)
-------------------------
keygen: 3.71204s
encrypt: 5.63528s
decrypt: 8.88659s
-------------------------
Kyber768 | (1000 calls)
-------------------------
keygen: 5.55999s
encrypt: 8.27046s
decrypt: 12.9365s
-------------------------
Kyber1024 | (1000 calls)
-------------------------
keygen: 8.22987s
encrypt: 11.56816s
decrypt: 17.76398s
Really good work man!, I could understand most of working of Kyber, because of this implementation (& baby kyber ofc ).
Please add documentation for NTT helpers also.
Thanks.
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.