Added SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512 support

This commit is contained in:
Lynix
2012-05-10 00:53:36 +02:00
parent d0bc1d908a
commit 68b238fc74
23 changed files with 1621 additions and 15 deletions

View File

@@ -14,6 +14,11 @@ enum nzHash
nzHash_CRC32,
nzHash_Fletcher16,
nzHash_MD5,
nzHash_SHA1,
nzHash_SHA224,
nzHash_SHA256,
nzHash_SHA384,
nzHash_SHA512,
nzHash_Whirlpool
};
@@ -27,7 +32,7 @@ class NAZARA_API NzHashable
public:
NzHashable() = default;
virtual ~NzHashable() {}
virtual ~NzHashable();
NzHashDigest GetHash(nzHash hash) const;
NzHashDigest GetHash(NzHashImpl* impl) const;