Added some basic hashing functionality