SHA is not a cipher -which is used for reversible (or two-way) encryption-, it's a hash or digest, and is used for irreversible, or one-way, encryption. If you ever want to get back the original cleartext then you need to use a cipher such as Triple-DES or AES. The Java API for that is called JCE; you'll find more details and examples in the SecurityFaq.
Ping & DNS - updated with new look and Ping home screen widget
Joined: Apr 18, 2010
I know sha is a 1 way hash function.but, i need to show it step by step on how to encrypt the data using sha algorithm.
can someone help me??please please please