3 ms·
I recently updated my password generator module[1] to use math/rand/2 with the ChaCha8 source. The performance improvement was quite nice and the security stays
by jamesponddotco 2y ago
I recently updated my password generator module[1] to use math/rand/2 with the ChaCha8 source. The performance improvement was quite nice and the security stays the same or better, given that I now rely on Go's algorithm for a unbiased random number instead of my own.
All in all, I leave my thanks for the excellent work done by the Go team here!
[1]: https://sr.ht/~jamesponddotco/acopw-go/ https://sr.ht/~jamesponddotco/acopw-go/