~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to trunhash.h

  • Committer: weidai
  • Date: 2006-12-09 17:18:13 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:247
add Salsa20 cipher

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        TruncatedHashTemplate(size_t digestSize)
27
27
                : m_digestSize(digestSize) {}
28
28
 
29
 
        void Restart()
30
 
                {m_hm.Restart();}
31
29
        void Update(const byte *input, size_t length)
32
30
                {m_hm.Update(input, length);}
33
31
        unsigned int DigestSize() const {return m_digestSize;}