| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Snap.Snaplet.Session.Common
Description
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