Cybersecurity plays an important role in day to day life. Hackers try to decrypt the code. The hashing function is defined in such a way so that it cannot be inverted. Various methods to decrypt has been developed but there are some encryptions which are difficult to decrypt. These paper discusses about decrypting code which has been encrypted using hash function using newton difference formula for unequal spacing