dhardy / rand

http://doc.rust-lang.org/rand
Other
2 stars 2 forks source link

True bytes #42

Closed dhardy closed 6 years ago

dhardy commented 6 years ago

This is basically prep for #36.

I was surprised by the quite significant ChaCha bug, but less so by the other one. Probably both would have been fixed by #36 anyway.

Byte sequences generated with code like this (using values from previous tests as source): https://play.rust-lang.org/?gist=473b9d5a304322f64b2d110f2c7c3521&version=nightly

dhardy commented 6 years ago

@pitdicker pretty sure this should be okay but I'll let you have a look before I merge

pitdicker commented 6 years ago

Great! I was just trying to find motivation to write such tests ;-). Looks good to me.