Safe Haskell | None |
---|---|
Language | Haskell98 |
This module contains functionality common among multiple back-ends.
Documentation
randomToken :: Int -> RNG -> IO ByteString Source
Generates a random salt of given length
mkCSRFToken :: RNG -> IO Text Source
Generate a randomized CSRF token