crc32

Javascript crc32 function and PHP crc32 not matching

Hello everyone, I'm working on a webapp where I want to match some crc32 values that have been generated server side in PHP with some crc32 values that I am generating in Javascript. Both are using the same input string but returning different values. I found a crc32 javascript library on webtoolkit, found here. When I try and match a ...

openssl CRC32 calculation

Hi all, I have seen some of the other questions here about the CRC 32 calculation. But none were satisfactory for me, hence this. Does openssl libraries have any api support for calculating the CRC32? I am already using openssl for SHA1, so would prefer to use it than link in one more library for CRC32(my implementation is in C). Than...

Can one construct a "good" hash function using CRC32C as a base.

Given that SSE 4.2 (Intel Core i7 & i5 parts) includes a CRC32 instruction, it seems reasonable to investigate whether one could build a faster general-purpose hash function. According to this only 16 bits of a CRC32 are evenly distributed. So what other transformation would one apply to overcome that? Update How about this? Only 16 ...

PHP CRC32 length output

Hi! Is there anything that can make the returned length of the PHP CRC32 function to vary? Thanks! ...

How to find crc32 of big files ?

The PHP's crc32 support string as input.And For a file , below code will work OFC. crc32(file_get_contents("myfile.CSV")); But if file goes huge (2 GB) it might raise out of memory Fatal error. So any way around to find checksum of huge files ? ...

Bandwidth of CRC32 (or alternative hashing algorithms)

How fast can one compute CRC32 for hashing very large amounts of data? (order of magnitude GB per second) What about MD5? Other, faster hashing algorithms like adler32? Does anybody have real-world speed test results? ...

I need CRC Reverse Code for my CRC64 Checksum Coding

Can someone please code me the CRC64 Reverse Algorithm in C#? I am unable to code it, can't understand anything. Thanks, I have copied the CRC64 Checksum code from C++ and converted it into C# .NET. The entire code is displayed below: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CRC64...

Does anyone have CRC128 and CRC256 Code in C++ and C#?

I am learning, trying to get thoughts behind CRC. I can't find CRC128 and CRC256 code anywhere. If anyone of you have the C++ or C# Code for them, please share them with me. Also provide online links to the websites. I am a newbie and can't code it by myself at all, neither can convert theories and mathematics to the coding. So I ask for...

Expected collisions for perfect 32bit crc

Hi, I'm trying to determine how my crc compares to an "ideal" 32bit crc. So I ran my crc over 1 million completely random samples of data and collected the amount of collisions, I want to compare this number to the number of collisions I could expect from the "ideal" crc. Does anyone know how to calculate the expected collision for a...