Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StdRng docs refer to non-existent stdrng_* Cargo features #902

Closed
sfackler opened this issue Oct 26, 2019 · 1 comment
Closed

StdRng docs refer to non-existent stdrng_* Cargo features #902

sfackler opened this issue Oct 26, 2019 · 1 comment

Comments

@sfackler
Copy link
Contributor

The current algorithm used is the ChaCha block cipher with either 20 or 12 rounds (see the stdrng_* feature flags, documented in the README).
https://docs.rs/rand/0.7.2/rand/rngs/struct.StdRng.html

Those features don't seem to exist, though.

@dhardy
Copy link
Member

dhardy commented Oct 28, 2019

No, I proposed them but the idea got rejected, partly because additive feature flags don't correlate well with configuration items, and partly because letting end users make security-performance trade-offs may not be the best idea. See #792.

Somehow the notes in the doc got through though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants