Pieter Wuille [ARCHIVE] on Nostr: 📅 Original date posted:2021-08-29 📝 Original message:On Thursday, August 19th, ...
📅 Original date posted:2021-08-29
📝 Original message:On Thursday, August 19th, 2021 at 1:02 PM, ts via bitcoin-dev <bitcoin-dev at lists.linuxfoundation.org> wrote:
> > In any case --- the last 5 characters of a bech32 string are already a human-readable 5-digit code, with fairly good properties, why is it not usable for this case?
Side note: it's actually the last six characters.
>
> Well, because
>
> a) most people don't know that
>
> b) it is specific to bech32
>
> c) it is not easily readable being the last digits of a long address (although this could be
I think this is a misconception. For the purpose of verifying that you have the *right* address (rather than just a valid one), the checksum, or even the knowledge that a checksum is present, is completely irrelevant.
In honestly-generated addresses, every character except the prefix (the ~2 first characters for P2PKH and P2SH, and the ~4 first characters for BIP173/BIP350 native segwit addresses) has exactly the same amount of entropy. Instead of adding say a 4 character code, just tell people to compare any 4 characters of their choosing. Or more - I would hope people are already comparing (much) more than 4 characters already.
It doesn't matter if the characters being compared are checksum characters or data characters. In honestly-generated addresses, both are equally random.
Adding a special 4 character "external" checksum IMO would instead encourage people to perhaps just compare those 4 characters instead of the rest (or at least, focus mostly on those). That could easily worsen how well comparisons are done in practice...
Cheers,
--
Pieter
Published at
2023-06-07 22:58:09Event JSON
{
"id": "42decb9715a3093c6f53d8b8bb198bb50b5d037cf0646a0ac09c6afb052e21c2",
"pubkey": "5cb21bf5d7f25a9d46879713cbd32433bbc10e40ef813a3c28fe7355f49854d6",
"created_at": 1686178689,
"kind": 1,
"tags": [
[
"e",
"a33b3f0d53c98f3fc059fbd1e00cf1f7838bc50bfea2f6b6c05733132d02affb",
"",
"root"
],
[
"e",
"ee01963ab29cfac906e7006dab371608b09ed138001541e96085b71a2ef0c6e6",
"",
"reply"
],
[
"p",
"d21fc7e471e0d199f0d54f7c85aae7eb189ec6238ea9e961d3cd67d809840541"
]
],
"content": "📅 Original date posted:2021-08-29\n📝 Original message:On Thursday, August 19th, 2021 at 1:02 PM, ts via bitcoin-dev \u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\n\u003e \u003e In any case --- the last 5 characters of a bech32 string are already a human-readable 5-digit code, with fairly good properties, why is it not usable for this case?\n\nSide note: it's actually the last six characters.\n\n\u003e\n\u003e Well, because\n\u003e\n\u003e a) most people don't know that\n\u003e\n\u003e b) it is specific to bech32\n\u003e\n\u003e c) it is not easily readable being the last digits of a long address (although this could be\n\nI think this is a misconception. For the purpose of verifying that you have the *right* address (rather than just a valid one), the checksum, or even the knowledge that a checksum is present, is completely irrelevant.\n\nIn honestly-generated addresses, every character except the prefix (the ~2 first characters for P2PKH and P2SH, and the ~4 first characters for BIP173/BIP350 native segwit addresses) has exactly the same amount of entropy. Instead of adding say a 4 character code, just tell people to compare any 4 characters of their choosing. Or more - I would hope people are already comparing (much) more than 4 characters already.\n\nIt doesn't matter if the characters being compared are checksum characters or data characters. In honestly-generated addresses, both are equally random.\n\nAdding a special 4 character \"external\" checksum IMO would instead encourage people to perhaps just compare those 4 characters instead of the rest (or at least, focus mostly on those). That could easily worsen how well comparisons are done in practice...\n\nCheers,\n\n--\nPieter",
"sig": "dc07327ffc40ad964ece69c0b58a970e0791e359189af38dc6b11e8e4d56e050da0570ec95a0833ae8aa1b53f064d1ee5fc38e0c80da823060553d29c288b6e8"
}