Support for hashing keys

Support for hashing keys added.
I've left out namespaces for security reasons (nobody can get into
another application's namespace using collisions)