A Github fork of Paul Johnston's JS hash functions