Found an open source implementation of hashing, currently reworking it to work with our code