Page 1 of 1

PureHash Library - Support 40+ hash algorithm

Posted: Mon Feb 09, 2009 11:05 pm
by ward
Features
- Support 40+ hash algorithms (including some checksums)
- Same interface as build-in cipher library, but fast
- Receive hash as binary data
- Unicode supported
- Free

Example

Code: Select all

Debug PureHash_MD5Fingerprint("Test", 4)

H = PureHash_ExamineMD5Fingerprint()
PureHash_NextMD5Fingerprint(H, "Te", 2)
PureHash_NextMD5Fingerprint(H, "st", 2)
Debug PureHash_FinishMD5Fingerprint(H)

Debug PureHash_MD5FileFingerprint(#PB_Compiler_File)

*Buffer = AllocateMemory(PureHash_MD5ByteLength())
PureHash_MD5Fingerprint("Test", 4, *Buffer)
PureHash_MD5FileFingerprint(#PB_Compiler_File, *Buffer)
FreeMemory(*Buffer)
Supported Hashes List

Code: Select all

CRC16
CRC32
ADLER32
MD2
MD4
MD5
SHA0
SHA1
SHA224
SHA256
SHA384
SHA512
HAVAL128_3
HAVAL128_4
HAVAL128_5
HAVAL160_3
HAVAL160_4
HAVAL160_5
HAVAL192_3
HAVAL192_4
HAVAL192_5
HAVAL224_3
HAVAL224_4
HAVAL224_5
HAVAL256_3
HAVAL256_4
HAVAL256_5
TIGER
TIGER2
WHIRLPOOL
WHIRLPOOL0
WHIRLPOOL1
RIPEMD128
RIPEMD160
RIPEMD256
RIPEMD320
SNEFRU128
SNEFRU256
BLAKE224
BLAKE256
BLAKE384
BLAKE512
PANAMA
GOST
PS: Checksum algorithms are returned in string formt just like other hash function.

Download Link - Removed

Posted: Mon Feb 09, 2009 11:56 pm
by blueznl
Euh... 4 posts since 2006? Is there something broken in the forum? :-)

Re: PureHash Library - Support 40+ hash algorithm

Posted: Sat Dec 03, 2011 6:17 pm
by funk.munich
Hi ward,

is it still possible to get this sources from you?

Thx in advance,
Daniel