300
Views
2
Comments
[CryptoAPI] Decrypt Generated HashHex from ComputeHash (SHA256)
Question
cryptoapi
Service icon
Forge asset by João Barata

Hi Sir,

Do you have a way in the tool how to decrypt the generated hashhex come from  ComputeHash (SHA256)?

in my case I need to encrypt the text using SHA256 then also need to decrypt the computed hashhex to original text again

Thank you so much in advance

Cheers!

2020-10-27 09-20-27
John Salamat
 
MVP

SHA256 is a one-way hash function. It cannot be reverse. The usage of it for verification works by comparing both hashed values. If you want to do encrypt - decrypt, you may make use of this API https://www.outsystems.com/forge/component/956/crypto-aes/?Unfollow=False a sample usage can be found on this thread - https://www.outsystems.com/forums/discussion/21874/samples-for-encryption-and-decryption/

2014-02-13 10-06-38
Ricardo Silva

John is right. one-way hashes are not meant to be decryptable.


But you don't need to use another library. CryptoAPI has Encrypt / Decrypt functions which work with reversible encryption (AES), and is more secure than Crypto AES.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.