home.social

#crc32 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #crc32, aggregated by home.social.

fetched live
  1. Today I uploaded #CHKSUM release 2, a versatile checksum calculator for #DOS.

    The following cryptographic checksum algorithms are supported: #md4, #md5, #sha1, #sha224, #sha256, #sha384, #sha512, #sha3_224, #sha3_256, #sha3_384, #sha3_512

    In addition, the following non-cryptographic checksum algorithms are supported: #bsd, #adler32, #fletcher16, #fletcher32, #crc32, #crc32c

    You can get binaries and source at: cloud.disroot.org/s/EmNZXrN8oZ

  2. 🎉 BREAKING NEWS: Someone reinvented the wheel... again! 🎉 Meet #Chorba, the "novel" #CRC32 implementation that nobody asked for. 🤦‍♂️ Because what the world truly needs is yet another way to hash data. Bonus points for the riveting "Skip to main content" intro. 😂
    arxiv.org/abs/2412.16398 #reinventingthewheel #hashingdata #techhumor #HackerNews #HackerNews #ngated

  3. Für die meisten wahrscheinlich ein Fall von „Wo steht der Bus?", aber wer weiß, wofür es vielleicht gut ist, wenn ich dieses Aha-Erlebnis nicht für mich behalte:

    CRC32 in MySQL/MariaDB:

    SELECT HEX(CRC32("Test"));
    → 784DD132

    Wer in PHP gerne zum gleichen Ergebnis kommen möchte, sollte dort anstatt crc32

    echo hash('crc32', 'Test');
    → 5d8962d9
    crc32b verwenden:
    echo hash('crc32b', 'Test');
    → 784dd132

    #CRC32 #PHP #MariaDB #MySQL

  4. @ariadne

    The question then becomes whether that spec was written in the 21st century. (-:

    #CRC32

  5. @ariadne

    The other somewhat more saddening thing is that the idea that a 32-bit cyclic redundancy check value is a good *hashing* value still lingers; 3 decades since the world gradually learned that it wasn't.

    #CRC32 #ifupdown

  6. @ariadne

    The interesting part of that to me, that is unrelated to recent events, is how they *seem* to be reinventing ISC-licenced implementations of CRC32 in 2024. I am certain that such things have existed in the BSDs for decades.

    There are probably fully (U.S.) public domain implementations of #CRC32 from the 1990s if one is willing to dig around in the world of old shareware. It was the sort of thing that got posted to magazines or passed around as code snippets in BBSes.

    #ifupdown