crypto-sodium-0.0.5.0: Easy-and-safe-to-use high-level cryptography based on Sodium
Safe HaskellNone
LanguageHaskell2010

Crypto.Sodium.Internal.Random

Description

Generate simple insecure random data.

Synopsis

Documentation

generateInsecure :: forall n. KnownNat n => IO (SizedByteArray n ByteString) Source #

Generate a sequence of random bytes.

The output of this function is NOT suitable for secret keys.