diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-04-05 21:05:13 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-04-05 21:05:13 -0400 |
commit | 2f341691495a8ed62e9e8b8ba28a7716c8228c04 (patch) | |
tree | 1fc79791b71793074a396f7cb027cf17c03b9db5 /cryptlib.h | |
parent | caea6f1c593ec93abe38339c3757e637f546c616 (diff) | |
download | cryptopp-git-2f341691495a8ed62e9e8b8ba28a7716c8228c04.tar.gz |
Updated documentation
Diffstat (limited to 'cryptlib.h')
-rw-r--r-- | cryptlib.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -451,8 +451,18 @@ DOCUMENTED_NAMESPACE_BEGIN(Name) DOCUMENTED_NAMESPACE_END
//! \brief Namespace containing weak and wounded algorithms.
-//! \details Weak is part of the CryptoPP namespace. Schemes and algorithms are moved into Weak
-//! when their security level is reduced to an unacceptable value by contemporary standards.
+//! \details Weak is part of the CryptoPP namespace. Schemes and algorithms are moved into Weak
+//! when their security level is reduced to an unacceptable level by contemporary standards.
+//! \details To use an algorithm in the Weak namespace, you must <tt>\c \#define
+//! CRYPTOPP_ENABLE_NAMESPACE_WEAK 1</tt> before including a header for a weak or wounded
+//! algorithm. For example:
+//! <pre>
+//! \c \#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1
+//! \c \#include <md5.h>
+//! ...
+//! CryptoPP::Weak::MD5 md5;
+//! </pre>
+
DOCUMENTED_NAMESPACE_BEGIN(Weak)
// weak and wounded algorithms
DOCUMENTED_NAMESPACE_END
|