From 8db6fe16b442178a867426e95b8e9fe17aac9d90 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 12 Feb 2019 23:52:19 -0500 Subject: Update documentation --- keccak.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keccak.h') diff --git a/keccak.h b/keccak.h index 6ceee0e4..ecda97e1 100644 --- a/keccak.h +++ b/keccak.h @@ -39,7 +39,7 @@ NAMESPACE_BEGIN(CryptoPP) /// \since Crypto++ 5.6.4 class Keccak : public HashTransformation { -public: +protected: /// \brief Construct a Keccak /// \param digestSize the digest size, in bytes /// \details Keccak is the base class for Keccak_224, Keccak_256, Keccak_384 and Keccak_512. @@ -47,6 +47,8 @@ public: /// as a base class reference or pointer. /// \since Crypto++ 5.6.4 Keccak(unsigned int digestSize) : m_digestSize(digestSize) {Restart();} + +public: unsigned int DigestSize() const {return m_digestSize;} unsigned int OptimalDataAlignment() const {return GetAlignmentOf();} -- cgit v1.2.1