/* * Random Number Generator * (C) 1999-2008 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include #include #include namespace Botan { RandomNumberGenerator* RandomNumberGenerator::make_rng() { std::unique_ptr rng( new HMAC_RNG(make_a("HMAC(SHA-512)"), make_a("HMAC(SHA-256)")) ); rng->reseed(256); return rng.release(); } }