Resource icon

[Reusable] SHA-256 v1.1

Changelog:
  • Fixed messages 32 bytes or longer producing incorrect hashes.
    • This was due to the SRB2 Lua API's unintuitive bitshifting behavior.
      In SRB2's Lua,
      x >> y actually acts more like x >> (y % 32).
      This is what I like to call a "bruh moment," and it should be fixed.
Top