[jboss-user] [JBoss Seam] - Re: How to decode hash password?

cfthomas do-not-reply at jboss.com
Wed Oct 17 13:33:51 EDT 2007


Hi LockDock!

It's okay that it doesn't work.
Hashing is a one-way procedure. No Hash can be 'decoded' to the original value.
What you are doing in your unHash method is hashing the hash again!
If you want to scramble passwords and unscramble them at a later time you need to look for Encryption/Decryption.
It can also be done with the Java Cryptography API.

Try this: http://www.devx.com/Java/10MinuteSolution/21385/1763/page/2

rgds,

Thomas

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096219#4096219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096219



More information about the jboss-user mailing list