It's not a secret anymore!
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
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: 42965
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!