• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 minutes ago

    No worries.
    I already use SHA-512 after Ctrl-C + Ctrl+V to make sure that no random Neutrino flips a few million bits and makes the destination file actually a different file with the same SHA-256 cipher.

    Relax

    I’m half joking.
    It is usually to make sure none of my HDDs are going bad.
    Only half, because I still use SHA-512 (because I can).

  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 hours ago

    As a user of SHA-256, I’d really like to know the practical implications of this. The language is really only meant for subject matter experts. It doesn’t read like the collisions happen with arbitrary input, but I didn’t really understand most of this paper.

    The expected time is 254.8 calls of the 38-step compression function, with 257.5 table accesses that this count does not charge. The tables take 7.4 GB, and finding the fixed state words took 52,300 vCPU-hours. A search of 53 GPU-hours found the collision after about 10% of the expected work.

    The attack requires some serious hardware, or at least some funding to leverage cloud systems.

    Predominantly AI-generated work. This work was developed through iterative research and writing by Anthropic Claude agents, mainly Claude Opus 5.5, under the author’s direction.

    sigh

    • Technus@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      1 hour ago

      This is mainly a thing of interest for other cryptographers, it’s far from a full break. Adding just one more round breaks the analysis, and full SHA-256 uses 64 rounds.

      It also requires the two messages to share a common block-long prefix but only extends to two blocks, so it only finds two messages between 32 and 64 bytes long, with a shared 32-byte prefix, that hash to the same value. Adding even just one more byte would seem to break the attack.

      It’s a sign of progress, but it doesn’t suggest we need to throw out SHA-256 anytime soon. In fact, given how slowly collision attacks are progressing even with AI assistance, I think this is a sign that SHA-256 should be decently secure for quite a while yet.