Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x-wing: use
rand::rngs::OsRng
in code example (#98)
This is the most conservative choice for a random number generator for keygen, which is a thin wrapper for the `getrandom` crate, which gets randomness directly from the OS. Also removes superfluous newlines in the example, and makes the imported traits explicit so the code example is complete.
- Loading branch information