TAY

Fork of Crypto_light by Edward Stott

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HashAlgorithm.h Source File

HashAlgorithm.h

00001 #ifndef HASH_ALGORITHM_H
00002 #define HASH_ALGORITHM_H
00003 
00004 #include <stdint.h>
00005 
00006 class HashAlgorithm
00007 {
00008     public :
00009     
00010         virtual ~HashAlgorithm();
00011         
00012         virtual uint8_t outputSize() const = 0;
00013         virtual void update(uint8_t *data, uint32_t length) = 0;
00014         virtual void finalize(uint8_t *hash) = 0;
00015 };
00016 
00017 #endif