This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Security and the fly likes DECRYPTION : Please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "DECRYPTION : Please help" Watch "DECRYPTION : Please help" New topic
Author

DECRYPTION : Please help

Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137
Hi,

I am encrypting data like the following:


How do I decrypt it?



??? -- not sure what to do next
-----------------------------------------------------------------


Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41586
    
  54
SHA is not a cipher, it's a digest (or hash) - that means once it's applied to text it can't be reversed, so there's no way to get back the original text. If you need to decrypt, use a cipher like AES: https://www.coderanch.com/how-to/java/SecurityFaq#encryption


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DECRYPTION : Please help