On Fri, Apr 08, 2011 at 04:03:07PM +0200, Stevan Baji?? wrote: > > > On Fri, 8 Apr 2011 08:57:19 -0500, Kenneth Marshall wrote: > > > On > Fri, Apr 08, 2011 at 03:12:25PM +0200, Stevan Baji?? wrote: > >> On Fri, 8 > Apr 2011 14:35:32 +0300, Ibrahim Harrani wrote: > >> > >>> Hi, > >> > >>> Is > there any way to decode tokens(tokenizer osb) in the > >> dspam_token_data > table? > >> > >>> lockquote type= > >> "padding-left:5px; > border-left:#1010ff 2px solid; margin-left:5px; width:100%"> Xperia(TM) > PLAY #1010ff 2px solid; margin-left:5px; width:100%"> > >> > /p.sf.net/sfu/verizon-sfdev">http://p.sf.net/sfu/verizon-sfdev [1] > _______________________________________________ > //lists.sourceforge.net/lists/listinfo/dspam-user">https://lists.sourceforge.net/lists/li > >> > user [3] The token is nothing else than a CRC64 ISO hash. Assuming you > have insane amount of memory and storage and CPU and a lot of time then > you > >> > >>> > >> > >>> > > Actually, you would only be able to find A token > that generated the same hash, not neccessarily the token that WAS USED > to generate the hash value. That is so because a 64-bit hash cannot > represent the tokens larger than 64-bits one-to-one. Cheers, Ken > > Yes, > yes. You are right. Especially with that weak CRC64-ISO that DSPAM is > using. Better would be to use CRC64 ECMA-182, but that is another story. > Anyway... even that CRC64 ECMA-182 is not collision free. > > -- > Kind > Regards from Switzerland, > > Stevan Baji?? >
I checked into different hashes and the CRC64 was good enough in the collision domain to make it not worth pursuing and alternative since then you could not upgrade your existing instances. Ken ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user