tyiu on Nostr: After working on this on and off for 7 days, I've finally finished implementing ...
After working on this on and off for 7 days, I've finally finished implementing NIP-44 encryption in Swift for use on Apple platforms! This will replace the unrecommended NIP-04 encryption. Definitely lost a few hairs and gained a few gray ones. 😅 Thanks to montzstar (npub1qlk…yayc) for reviewing my PR to Nostr SDK for Apple Platforms and thanks to mplorentz (npub16zs…92l7) from Nos for pair programming with me when I got stuck.
https://github.com/nostr-sdk/nostr-sdk-ios/pull/138
I’ve submitted a forked copy to the shared nip44 repo. Please review and double-check my work if you’re able to read Swift code. All the test vectors pass, though. paulmillr (npub10jc…3kag) Vitor Pamplona (npub1gcx…nj5z) mikedilger (npub1acg…p35c)
https://github.com/paulmillr/nip44/pull/11
https://github.com/nostr-sdk/nostr-sdk-ios/pull/138
I’ve submitted a forked copy to the shared nip44 repo. Please review and double-check my work if you’re able to read Swift code. All the test vectors pass, though. paulmillr (npub10jc…3kag) Vitor Pamplona (npub1gcx…nj5z) mikedilger (npub1acg…p35c)
https://github.com/paulmillr/nip44/pull/11