TAY
Fork of Crypto_light by
Embed:
(wiki syntax)
Show/hide line numbers
SHA512.h
00001 #ifndef SHA2_512_H 00002 #define SHA2_512_H 00003 00004 #include "HashAlgorithm.h" 00005 #include "SHA2_64.h" 00006 00007 00008 class SHA512 : public HashAlgorithm 00009 { 00010 public : 00011 00012 SHA512(); 00013 00014 virtual uint8_t outputSize() const; 00015 virtual void update(uint8_t *data, uint32_t length); 00016 virtual void finalize(uint8_t *hash); 00017 00018 static void computeHash(uint8_t *hash, uint8_t *data, uint32_t length); 00019 00020 private : 00021 00022 SHA2_64 algo; 00023 }; 00024 00025 #endif
Generated on Thu Jul 14 2022 22:52:31 by 1.7.2