bashtage / randomgen

Numpy-compatible bit generators and add some random variate distributions missing from NumPy.
Other
111 stars 25 forks source link

BlaBla counter-based crypto rng #399

Open gahtan-syarif opened 3 days ago

gahtan-syarif commented 3 days ago

JP Aumasson (creator of Blake2 and SipHash) created a 64-bit version of ChaCha he called BlaBla (https://github.com/veorq/blabla/blob/master/BlaBla.swift). I've tested it using C++ and it seems that it can run at speeds almost 2x of that of chacha with the same number of rounds on a 64-bit system. Perhaps its worth adding to randomgen?

I've created a c++ implementation of it here: https://github.com/gahtan-syarif/blabla.h