Search Results
7/9/2025, 10:08:00 PM
>code SHA-1 in C++
>pseudo-code on wiki is broken (took me ages to notice)
>fixed it after consulting RFC
>still doesn't work
>spend another 2 evenings pulling my hair out
>turns out it was a minor endianness error
yes,I spent 3 (three) fucking evenings coding SHA-1, with access to plenty of example implementations. posting this just in case you ever think you are bad at coding.
>pseudo-code on wiki is broken (took me ages to notice)
>fixed it after consulting RFC
>still doesn't work
>spend another 2 evenings pulling my hair out
>turns out it was a minor endianness error
yes,I spent 3 (three) fucking evenings coding SHA-1, with access to plenty of example implementations. posting this just in case you ever think you are bad at coding.
Page 1