Added Nicolas hashing method