Skip to content
Zwetan Kjukov edited this page Oct 21, 2015 · 5 revisions

Welcome to the hashlib wiki!

Why

For a small project I needed a small hash function (eg. not some kind of monster like SHA-256), first I used HashUtil from the Flex SDK and then realised the output was not correct, so I searched, tested and ahem got carried away :p.

More importantly, I find myself reimplementing stuff in ActionScript 3.0 and I needed correct hash functions, for example: I want the same result that java.util.zip.CRC32 generates in Java, not an equivalent, the same; and then you realise you have 36x different implementations of CRC-32.

For ex: Which CRC-32 algorithm is used in the Java CRC-32 class ?.

Anyway, it's because of details like this that I need so many different implementations.

Documentation

TODO

list of every hash functions implemented in the hash library

doc from old google code page

Resources

Hash function
Wikipedia

Checksum
Wikipedia

Cyclic redundancy check (CRC)
Wikipedia

List of hash functions
Wikipedia

General Purpose Hash Function Algorithms
Arash Partow

Hash Functions
Bret Mulvey
note: very good explanation of hash functions

Catalogue of parametrised CRC algorithms
Sourceforge

classless-hasher (google code) .NET Hash and Checksum Algorithm Library
list of provided algorithms
repo moved to classless-hasher (bitbucket)

Clone this wiki locally