Global Feed Post Login
Replying to Avatar STERRY

If you wanted to provide a mapping of npubs to display_names in static form, how many characters of the npub do you need? This is a variation of the birthday problem. Just curious about what chance of collision is acceptable as I trade it off against a need for hundreds of profile requests. #nostrdev

Avatar
Rainer 2y ago

You don't know because there's no way of knowing how many pubkeys exist.

Reply to this note

Please Login to reply.

Discussion

Avatar
STERRY 2y ago

Guess we could go 2^256 as an upper bound?

Thread collapsed