git.iko.soy/typeable/entropy
on main help sign in
Merge pull request #71 from felixonmars/patch-1

Correct typos in System/Entropy.hs

commit1c88b4c0024d26c2450b8b1c4c0b991b082cbe55 authorThomas M. DuBuisson <thomas.dubuisson@gmail.com> dateSun 21 Aug 2022, 19:05 (4 years ago) parent2ea9ac87e47341
1 file changed+2−2
System/Entropy.hs+2−2
System/Entropy.hs+2−2
@@ -36,11 +36,11 @@ import Control.Exception (bracket)
3636
3737-- |Get a specific number of bytes of cryptographically
3838-- secure random data using the *system-specific* sources.
39−-- (As of 0.4. Verions <0.4 mixed system and hardware sources)
39+-- (As of 0.4. Versions <0.4 mixed system and hardware sources)
4040--
4141-- The returned random value is considered cryptographically secure but not true entropy.
4242--
43−-- On some platforms this requies a file handle which can lead to resource
43+-- On some platforms this requires a file handle which can lead to resource
4444-- exhaustion in some situations.
4545getEntropy :: Int -- ^ Number of bytes
4646 -> IO B.ByteString