From 298988a5b9687f64de733ce01319e90e94b0b688 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 22 Nov 2015 19:17:15 -0500 Subject: Crypto++ 5.6.3 check-in --- rng.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rng.h') diff --git a/rng.h b/rng.h index 71ec4187..ed1177c5 100644 --- a/rng.h +++ b/rng.h @@ -16,10 +16,14 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief Linear Congruential Generator (LCG) -//! \details Originally by William S. England, do not use for cryptographic purposes +//! \details Originally propsed by William S. England. +//! \warning LC_RNG is suitable for simulations, where uniformaly distrubuted numbers are +//! required quickly. It should not be used for cryptographic purposes. class LC_RNG : public RandomNumberGenerator { public: + //! \brief Construct a Linear Congruential Generator (LCG) + //! \param init_seed the initial value for the generator LC_RNG(word32 init_seed) : seed(init_seed) {} -- cgit v1.2.1