summaryrefslogtreecommitdiff
path: root/sha3.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-09 05:04:36 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-09 05:04:36 -0400
commite4e01a6af3964750d032153d7f1c96fc9eee107c (patch)
tree90764394c0acaa2ecda72c9368de67ecff31c495 /sha3.h
parent1df4463c33e41caafc76c2739133c6069eda11e3 (diff)
downloadcryptopp-git-e4e01a6af3964750d032153d7f1c96fc9eee107c.tar.gz
Updated documentation
Diffstat (limited to 'sha3.h')
-rw-r--r--sha3.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sha3.h b/sha3.h
index ed3a03b8..0337fbac 100644
--- a/sha3.h
+++ b/sha3.h
@@ -3,7 +3,7 @@
//! \file sha3.h
//! \brief Classes for SHA-3 message digests
//! \details The Crypto++ SHA-3 conforms to FIPS 202 version of SHA-3.
-//! Previous behavior is available in Keccak classes.
+//! Previous behavior is available in SHA3 classes.
//! \sa <a href="http://en.wikipedia.org/wiki/SHA-3">SHA-3</a>,
//! <A HREF="http://csrc.nist.gov/groups/ST/hash/sha-3/fips202_standard_2015.html">SHA-3 STANDARD (FIPS 202)</A>.
@@ -17,13 +17,17 @@ NAMESPACE_BEGIN(CryptoPP)
//! \class SHA3
//! \brief SHA3 message digest base class
+ //! \details SHA3 is the base class for SHA3_224, SHA3_256, SHA3_384 and SHA3_512.
+ //! Library users should instantiate a derived class, and only use SHA3
+ //! as a base class reference or pointer.
+ //! \sa Keccak, SHA3_224, SHA3_256, SHA3_384 and SHA3_512.
class SHA3 : public HashTransformation
{
public:
//! \brief Construct a SHA3
//! \param digestSize the digest size, in bytes
//! \details SHA3 is the base class for SHA3_224, SHA3_256, SHA3_384 and SHA3_512.
- //! Library users should construct a derived class instead, and only use SHA3
+ //! Library users should instantiate a derived class, and only use SHA3
//! as a base class reference or pointer.
SHA3(unsigned int digestSize) : m_digestSize(digestSize) {Restart();}
unsigned int DigestSize() const {return m_digestSize;}