Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You have a one in 232 chance of making a typo in an address and it being valid for P2PKH, its even less for modern bech32 addresses.


A 1 in 200 chance doesn't make much sense. In (legacy) addresses there's a 4 byte checksum done with sha256, so it should be something like a 1-in-4-billion (1 in 2^32) chance of a typo being valid. bech32 does something even smarter, but I'm not familiar with the details


The formatting was stripped. I meant 2^32.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: