Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Decrypt SHA1?

843811Jun 14 2007 — edited Jun 14 2007
Is there a way to decrypt SHA1? I have encrypted SOAP message's UsernameToken password:
 String sha1Hash = null;
	  try {
	    MessageDigest md = MessageDigest.getInstance("SHA1");
	    byte[] digest = md.digest(text.getBytes());
	    sha1Hash = new String(Base64.encode(digest));
	  } catch (Exception e) {
	    e.printStackTrace();
	  }
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2007
Added on Jun 14 2007
4 comments
1,086 views