What is Nostr?
indrora, boot of journalism /
npub132h…kake
2024-02-05 20:57:44
in reply to nevent1q…f84l

indrora, boot of journalism on Nostr: npub15zp7p…m8ghg Pick any `my_pwd` with an md5 that begins with "00e8" like ...

npub15zp7p7pghhayc5q64s2lvfk46fjgr2r9gqylq924plnsnwdvtr2q6m8ghg (npub15zp…8ghg) Pick any `my_pwd` with an md5 that begins with "00e8" like 3112336944hello

PHPs type system is made of jelly rolls and considers a string beginning with "0" in an equality comparison to be an integer, so it turns "00e8xxxxxx" into 00e8, or "octal, 0 * 8^8xxxxx", which is still zero.

This happens on both sides and guess what? According to all known laws of aviation, zero is equal to zero. Who'da thunk?

There are caveats depending on versions of PHP though: https://github.com/spaze/hashes/blob/master/plaintext.md
Author Public Key
npub132havw8gjjfnetu8esv7xh9yap3e7e0cljczyprd5gam77l84znsjmkake