[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

how to decrypt, after encrypting using digest/sha1

Srikanth Jeeva

2/24/2009 7:15:00 AM

hi ,
i encrypted this way using digest/sha1..

require'digest/sha1'
=> true

Digest::SHA1.hexdigest "srikanthjeeva.blogspot.com"
=> "4c76cbd20f88c700e95bf55b3c1f7a37aead432c"


now can any one help how to decrypt.????
--
Posted via http://www.ruby-....

2 Answers

Simon Krahnke

2/24/2009 7:59:00 AM

0

* Srikanth Jeeva <sri.jjhero@gmail.com> (08:14) schrieb:

> hi ,
> i encrypted this way using digest/sha1..
>
> require'digest/sha1'
> => true
>
> Digest::SHA1.hexdigest "srikanthjeeva.blogspot.com"
> => "4c76cbd20f88c700e95bf55b3c1f7a37aead432c"
>
> now can any one help how to decrypt.????

SHA1 is no encryption scheme, it's a secure hash (also called digest).
It's nearly impossible to deliberately construct a file with the same
hash, even if you know the original file. So it's actually the opposite
of something meant to be decrypted.

mfg, simon .... l

Srikanth Jeeva

2/24/2009 8:54:00 AM

0

Simon Krahnke wrote:

>
> SHA1 is no encryption scheme, it's a secure hash (also called digest).
> It's nearly impossible to deliberately construct a file with the same
> hash, even if you know the original file. So it's actually the opposite
> of something meant to be decrypted.
>
> mfg, simon .... l



k, thanks simon..
--
Posted via http://www.ruby-....