summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/sha256.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement rng pushing and popping for sha256 hardened prng (Adeon)Robert Vollmert2009-12-141-0/+4
| | | | | | | | the rng.cc used to call just push_mt_state which bypassed the hashing process and didn't return the state as it was after popping the state Fixes bug #52.
* Harden the PRNG for public servers.Mikko Juola2009-10-011-0/+7
Detailed discussion is here: http://www.genodeen.net/index.clua?cwrng Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>