-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2eca01b92d84
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 78b43559165f
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 19 files changed
- 2 contributors
Commits on Sep 25, 2017
-
Merge SecureRandom into Random and Random::Secure
SecureRandom has been dropped in favor to Random::Secure (renamed from Random::System) which is now the secure source for random numbers suitable for cryptography. Moves SecureRandom#random_bytes(Bytes) into Random::Secure, and implements a generic Random#random_bytes(Bytes) to fill a Bytes with random numbers from any PRNG. Moves SecureRandom methods such as #base64 and #uuid into Random, so any PRNG implementation may use these methods; they should only be used with a secure PRNG thought (except maybe in test suites). This change allows to swap PRNG at will. For example swap Random::Secure for Random::ISAAC (seeded from Random::Secure), or use a cryptographically secure but slow PRNG in production, and an insecure but fast and determinable PRNG in test suites, for example.
Configuration menu - View commit details
-
Copy full SHA for 27684db - Browse repository at this point
Copy the full SHA 27684dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d0358 - Browse repository at this point
Copy the full SHA 79d0358View commit details
Commits on Sep 26, 2017
-
Merge pull request #4894 from ysbaddaden/std-merge-secure-random-into…
…-random Merge SecureRandom into Random and Random::Secure - Renames Random::System to Random::Secure. - Removes SecureRandom. - Moves #uuid, #hex and #base64 methods to Random. - Moves SecureRandom#random_bytes(slice) to Random::Secure. - Implements generic Random#random_bytes(slice).
Configuration menu - View commit details
-
Copy full SHA for 78b4355 - Browse repository at this point
Copy the full SHA 78b4355View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.