mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-19 15:51:45 +00:00
HashStrings passed str.Length (a char count) as the byte count to MD5.TransformBlock, so for any non-ASCII string only a truncated prefix of the UTF-8 bytes was hashed. Capture the byte array and use its Length.