Jump to content

Are these hashes correct?


aximbigfan

Recommended Posts

How are you using the salt?

 

I can't find a native DES function, so I didn't bother with that one, but this is what I got for 'test':

 


C:\Users\Corbin>php -r "printf(\"%u\n\", crc32('test'));"
3632233996

C:\Users\Corbin>php -r "printf(\"%u\n\", crc32('testtest'));"
3966352177

 

 

Edit....

 

Oh I see what you did.... CRC32 returns an unsigned integer......  read the manual page...

 

 

Anyway:

 


C:\Users\Corbin>php -r "echo crc32('test');"
-662733300

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.