This library implements some hash and cryptographic algorithms.

Dependents:   mBuinoBlinky PB_Emma_Ethernet SLOTrashHTTP Garagem ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SHA224.h Source File

SHA224.h

00001 #ifndef SHA2_224_H
00002 #define SHA2_224_H
00003 
00004 #include "HashAlgorithm.h"
00005 #include "SHA2_32.h"
00006 
00007 class SHA224 : public HashAlgorithm
00008 {
00009     public :
00010 
00011         SHA224();
00012 
00013         virtual uint8_t outputSize() const;
00014         virtual void update(uint8_t *data, uint32_t length);
00015         virtual void finalize(uint8_t *hash);
00016 
00017         static void computeHash(uint8_t *hash, uint8_t *data, uint32_t length);
00018 
00019     private :
00020     
00021         SHA2_32 algo;
00022 };
00023 
00024 #endif