CurryInfo: cryptohash-3.0.0 / Crypto.Hash.randomString

definition: Info
 
randomString :: Int -> IO String
randomString n = do
  seed <- getRandomSeed
  ranString <- getHash (show (nextInt seed !! 3))
  return (take n ranString)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Returns a random string (a hexadecimal string) of a particular length.
@param length - length of the desired string
@return the random string
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 randomString
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Int -> Prelude.IO String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term