This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Security and the fly likes digest Algorithm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "digest Algorithm" Watch "digest Algorithm" New topic

digest Algorithm

sriram vemaraju

Joined: Feb 11, 2008
Posts: 16
ya i am sorry i meant digest algorithm.Which one should we go for SHA-1 SHA how do we choose?
I heard that both SHA-1 and SHA are obsolete.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
They're both obsolete, but SHA-1 is still OK to use from a security point of view. For new development you might as well go with SHA-256, though. More information at
It is sorta covered in the JavaRanch Style Guide.
subject: digest Algorithm
jQuery in Action, 3rd edition