Global Feed Post Login
Replying to Avatar jb55

anyone have a good idea on how to make hashes of phone numbers rainbow-table resistant? Trying to think of a way to find friends on nostr by phone number but without leaking the number. maybe argon2(first name + number) ?

We should spec this if so.

Avatar
sommerfeld 1y ago πŸ’¬ 2

Double sha256 hash? That's what Satoshi would do

Reply to this note

Please Login to reply.

Discussion

Avatar
The Fishcake (nostr.build) 1y ago

Too weak, easy to compute a large table 🐢🐾🫑

Avatar
sommerfeld 1y ago πŸ’¬ 2

I'm starting to think phone numbers don't have enough entropy. Without another source, it's hard.

Avatar
jb55 1y ago

What about this?

nostr:nevent1qqsx0fe5xkckvtxzwa4fv2s3jszg7ctg5g5week44gnxf0yhcyzrt5gpz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qzxrhwvaz7tmddahxzepwdf3r2dfwvdhk6w3cxqurqqgewaehxw309ac8junpd45kgtnxd9shg6npvchxxmmdqyg8wumn8ghj7mn0wd68ytnhd9hx232ahc5

Avatar
sommerfeld 1y ago

That gets out of my depth 🀣

Thread collapsed
Thread collapsed
Thread collapsed
Thread collapsed