Add the possibility to insert a seed for the random generation #33
Merged
meliurwen
merged 7 commits from 12-feature-add-seed-for-random-generation
into dev
3 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch '12-feature-add-seed-for-random-generation'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Description
See the issue related, what is done in the commits and in the changelog below.
Issues related
Merge into Dev Checklist
Changelog
(Optional) Extra info
None
Why also rand_core?
It should work also without it.
Seed must be an Option
Yes and no, it was necessary for the function
ChaCha8Rng::seed_from_u64
.Anyway, thank you for highlighting this!
With a closer look I've been able to get rid of this dependency by doing this in
src/tools.rs
andtests/params.rs
:Done
Reviewers
258d016155
.