How to decrypt the SHA-256 to text again? | SoloLearn: Learn to code for FREE!


How to decrypt the SHA-256 to text again?

I learn these days about some cryptography. I got SHA-256...I encrypt some text but I searched and tried a lot to return to text ,but don't know how!? When I was learning about it I could learn how to encrypt text,but SL is not supported my code 😅... Just if I am ganna use this cryptography in future want to know how to decrypt again ; Note : wanna know how to do this by JavaScript or any library from it.

1/15/2020 6:28:21 AM


3 Answers

New Answer


Coder Kitten what is the difference between Hashing and decryption?


The only thing you can do is a dictionary or brute force attack which compares hashes of word lists to the hash you wish to "decrypt". there's no real reversion like Coder Kitten said already. Hashes like SHA haven't been made to encrypt anything anyway and are not considered secure enough to store sensitive information in. these hashing algorithms are made to be fast because their original purpose is to verify file integrity of downloads, for example. a secure algorithm would be designed to be slow to calculate. for actual encryption of communication, you would neither use conventional nor secure hashing. instead, the concept of having a public and a private key is used, which is different entirely: end to end encryption that's both secure and reversible.


Thank you Gregor Dietrich and Coder Kitten ... I got it after posting the question 🙂