wood burning stoves 2.0*
The moose likes Security and the fly likes MD5 And SHA In JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "MD5 And SHA In JAVA" Watch "MD5 And SHA In JAVA" New topic
Author

MD5 And SHA In JAVA

Desmond Wong
Greenhorn

Joined: Jul 07, 2005
Posts: 2
How can I convert the following encoding into java code???
MD5(secret + SHA-1('A' + secret + clientRandom + serverRandom))

THANK YOU VERY MUCH FOR HELP
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
Take a look at java.security.MessageDigest; it supports MD5 and SHA-1.


Ping & DNS - my free Android networking tools app
Desmond Wong
Greenhorn

Joined: Jul 07, 2005
Posts: 2
THX
 
 
subject: MD5 And SHA In JAVA
 
Similar Threads
how hasing works in java
File comparison
cryptography vs security
Anyone here knows about MD5?
saving password in MYSQL