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