summaryrefslogtreecommitdiff
path: root/trunhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunhash.h')
-rw-r--r--trunhash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunhash.h b/trunhash.h
index df733a6..c1c4e9b 100644
--- a/trunhash.h
+++ b/trunhash.h
@@ -26,6 +26,8 @@ public:
TruncatedHashTemplate(size_t digestSize)
: m_digestSize(digestSize) {}
+ void Restart()
+ {m_hm.Restart();}
void Update(const byte *input, size_t length)
{m_hm.Update(input, length);}
unsigned int DigestSize() const {return m_digestSize;}