Calling std::hash::sha256 on string literals can return an incorrect digest for some inputs.
Calling std::hash::sha256 on string literals can return an incorrect digest for some inputs.: a task in LegoFlow-SWE (Harbor dataset). For example, hashing the string "test" should produce: 0x9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 but it currently produces a different…
The task
For example, hashing the string `"test"` should produce: `0x9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08` but it currently produces a different value (e.g. `0x9134a6432bb8da899b9005e41957835454b289f01b21f6f0373da8bcaac5c251`).
Part of Lego-X/LegoFlow-SWE.