This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DECRYPTION : Please help  RSS feed

 
Thomas Mcfarrow
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am encrypting data like the following:


How do I decrypt it?



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


Thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!