git.iko.soy/typeable/entropy
on main help sign in
Correct typos in System/Entropy.hs
commit7e473410b0935ddab922614ea69c2e375dfb3301 authorFelix Yan <felixonmars@archlinux.org> dateMon 15 Aug 2022, 20:52 (4 years ago) parent547e768
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