Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cryptography and Encryption
- From: tiger@xxxxxxxx (Tiger Quimpo)
- Subject: Cryptography and Encryption
- Date: Tue, 29 Feb 2000 22:19:38 +0800
[On 04:45 PM 2/29/00 +0530, Biju Nambisan wrote] >I am trying to encode the password using the MD5 algorithm thats >provided with the jdk1.2.We also have a necessity to decrypt the >password....Can somebody who has worked on this suggest the code >that goes in for decrypting.(We are interested in using MD5 for >decrypting as well) you can't. MD5 is a one way hash. it can't be decrypted. when you're dealing with passwords, you don't really need to decrypt anyway. all you need to do is verify if the user typed in a password now that is the same as the password he specified the last time he changed his password. for that, all you need to do is take the password he typed now, run it through MD5, and compare the old hash with the current hash. --- heh, and then i read Rodrigo's reply. apparently there *is* a way to dec tiger ------------------------------------------------------------- Gerald Timothy Quimpo * entia non sunt multiplicanda tiger at kami dot com praetere necessitatem http://members.xoom.com/TigerQuimpo * mene sakhet ur-seveh Anything that is designed to do more than one thing can't do any of them well. --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- References:
- Cryptography and Encryption
- From: Biju Nambisan
- Cryptography and Encryption
- Prev by Date: Timer Object
- Next by Date: How to stop Threads
- Previous by thread: Cryptography and Encryption
- Next by thread: Cryptography and Encryption
- Index(es):