updated new hash function using 62base convertion