RC4 Encryption Security

Just starting out? Need help? Post your questions and find answers here.
freak
PureBasic Team
PureBasic Team
Posts: 5944
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: RC4 Encryption Security

Post by freak »

What is the benefit of hashing multiple times? Just hashing once with a sufficiently long salt should be enough to make such rainbow tables useless.
quidquid Latine dictum sit altum videtur
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: RC4 Encryption Security

Post by nco2k »

well, its kind of a trend nowadays. i already saw a server once, re-hashing its passwords up to 1000(!) times, before storing them in a database, which is of course a total overkill but oh well. :?

its just part of the "algorithm" and not only meant to avoid rainbow tables, but to create confusion. :lol:

but yes, you are basically right. :)

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
freak
PureBasic Team
PureBasic Team
Posts: 5944
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: RC4 Encryption Security

Post by freak »

You know the old saying: "if one hash is good, 1000 must be better" :D
quidquid Latine dictum sit altum videtur
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: RC4 Encryption Security

Post by nco2k »

didnt heard that one before, but i guess they did. :lol:

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Little John
Addict
Addict
Posts: 4791
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: RC4 Encryption Security

Post by Little John »

freak wrote:Btw, the flaws in MD5 (and also similar ones in SHA-1) only concern things like digital signing of documents, where the attacker wants to specifically generate two documents with different content but the same hash. Then if he gets one of them digitally signed, the signature will also be valid for his other document. For this there are very fast algorithms today, making MD5 useless for digital signing.
Hi freak,

this sounds very interesting. What algorithm (to be implemented in PB, of course) do you recommend for digital signing of documents?

Regards, Little John
freak
PureBasic Team
PureBasic Team
Posts: 5944
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: RC4 Encryption Security

Post by freak »

Sorry, i don't have much knowledge in that area.
quidquid Latine dictum sit altum videtur
Post Reply