Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to Convert a string to SHA1 encryption

864299Oct 12 2011 — edited Oct 12 2011
Hello,

how to convert a string value to an encrypted SHA1 value ?

I want to convert an input value from a view attribute to SHA1 and then store it in DB .
so the proper place to handle that (in my opinion) would be in getter accessor of that attribute.

Thank you,
Shahab
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2011
Added on Oct 12 2011
1 comment
389 views