File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to decript field which is encripted by MD5
Joined: Feb 01, 2006
Feb 14, 2006 23:08:00
There is a need to decript a field which is encripted by MD5 function as follows,
md = MessageDigest.getInstance("MD5");
byte result = md.digest();
Can anyone help me how to decript this field which is encripted by MD5?
Joined: Mar 22, 2005
Feb 15, 2006 01:56:00
MD5 is not a cipher; it is a hash. One of the differences is that ciphers can be decrypted, while hashes can not - they are a one-way function. So what you are asking is fundamentally impossible.
Ping & DNS
- updated with new look and Ping home screen widget
Joined: Jul 10, 2001
Feb 17, 2006 11:56:00
I agree with Ulf.
You can only compare and say it is what is intended to be moved across the wire(purely for authentication purposes). You can not see the original content though.
Why not use a cypher like AES(Rijndael)??
I agree. Here's the link:
subject: How to decript field which is encripted by MD5
client server authentication problem........
Working on bits in java
Book Promotion : Hacking Exposed: J2EE and Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014