From: Codeblogger Date: 2007-04-27T17:57:26+09:00 Subject: Re: Decode password ------=_Part_86952_19068888.1177664241505 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Since SHA1 is just a hash digest there is no direct way to decode it. Plain and simple. One way to find the original string is to generate all possible words and compare their SHA1 hashes with yours. Good luck with that... Nicolai 2007/4/27, Mitesh Jain : > > Hi All, > i had encoded the password using, > > Digest::SHA1.hexdigest("change-me--#{pass}--") > > i got the password in the encoded form and i want to decode this string. > > How can i do this? > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_86952_19068888.1177664241505--