aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "digest Algorithm" Watch "digest Algorithm" New topic
Author

digest Algorithm

sriram vemaraju
Greenhorn

Joined: Feb 11, 2008
Posts: 16
hi,
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
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
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 http://en.wikipedia.org/wiki/SHA_hash_functions


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: digest Algorithm