As others have stated, you cannot turn a hash back into it's original data - that is not the purpose a hash function
That said, what you appear to be doing is creating a digital signature, which uses an asymmetric key to encrypt the hash
Checking the data is correct is a case of hashing the original data, asymmetrically decrypting the hash, and checking the two hashes
PKI[
^]