News for hackers. Stuff that matters.
Re:Confess your love with zero-knowledge by giantrobot on Friday June 03, 2022 @01:49PM (#31611512)
SHA256 doesn't work like that. Even single bit differences between inputs should result in very different outputs.
Re:Confess your love with zero-knowledge by forty on Friday June 03, 2022 @02:34PM (#31612027)
Re:Confess your love with zero-knowledge by drdaeman on Friday June 03, 2022 @01:57PM (#31611610)
It doesn't. But there are so-called locality sensitive hashes.

https://www.pinecone.io/learn/locality-sensitive-hashing/

Re:Confess your love with zero-knowledge by giantrobot on Friday June 03, 2022 @03:49PM (#31612825)
Sure, such hashes exist. SHA256 is not one of them.