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

Centralize dependency on Rng instance #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daviddrysdale
Copy link
Collaborator

@daviddrysdale daviddrysdale commented Jul 22, 2021

Use tink_core::subtle::random::rng() to return an instance of the
tink_core::subtle::random::Generator trait, which is just a combination
of rand::RngCore and rand::CryptoRng.

Use this rng() instance throughout the code.

Drop a couple of direct dependencies on rand which were not needed.

Use tink_core::subtle::random::rng() to return an instance of the
tink_core::subtle::random::Generator trait, which is just a combination
of rand::RngCore and rand::CryptoRng.

Use this rng() instance throughout the code.

Drop a couple of direct dependencies on rand which were not needed.
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

Successfully merging this pull request may close these issues.

1 participant