Why Nostr? What is Njump?
2024-03-27 12:55:48

jb55 on Nostr: I’m leaning toward this for the hashed phone number that you could optionally share ...

I’m leaning toward this for the hashed phone number that you could optionally share on your profile so that damus could automatically find all your friends. It would really hard to build a rainbow table for this with a high argon2 security parameter.

What do you think , , any other mobile nostr devs ? Should we get a NIP going ?
Something like that? 🐶🐾🤔

function hashPhoneNumber(phoneNumber):
hashedValue = ""

for each digit in phoneNumber:
if hashedValue is empty:
hashedValue = argon2Hash(digit)
else:
concatenated = hashedValue + digit
hashedValue = argon2Hash(concatenated)

return hashedValue
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s