This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 42958
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
I agree. Here's the link:
subject: digest Algorithm
It's not a secret anymore!