Kasra Rahjerdi pfp
Kasra Rahjerdi
@jc4p
Made an encrypted mutual crush identification mini-app to celebrate the Solana launch! Was super fun writing this one and making it secure. Front-end + API + Onchain Program: https://github.com/jc4p/mutual-match-frame https://mutual-match.kasra.codes/
28 replies
29 recasts
151 reactions

Kasra Rahjerdi pfp
Kasra Rahjerdi
@jc4p
for the nerds: 1. you sign a tx 2. that hash is used to generate a new ed25519 keypair 3. that public key is sent to my server for matching to FID 4. you select a user, encrypt a message using their public key, send to a unique (per duo) Solana program 5. If the program has 2 entries, it’s a mutual match
5 replies
1 recast
27 reactions

Ben W* pfp
Ben W*
@bendoubleu.eth
lol sign my public key πŸ₯Ί πŸ‘‰πŸ‘ˆ the cryptographer in me is getting a kick out a curve25519 being used for this. awesome app!
1 reply
0 recast
5 reactions

Kasra Rahjerdi pfp
Kasra Rahjerdi
@jc4p
it's sooooo fun and deriving the symmetric key was a blast, full code: https://github.com/jc4p/mutual-match-frame/blob/243d9e58218bf6dbf0e1776d6fe62adb399b7938/src/main.js#L855
0 reply
0 recast
2 reactions