A good start!
I'm trying to encrypt with AES, really hard to test it... got "???" as private message :/
A good start!
I'm trying to encrypt with AES, really hard to test it... got "???" as private message :/
I'm taking example of https://github.com/nbd-wtf/go-nostr/blob/master/nip04/nip04.go and https://github.com/fiatjaf/nostr-tools/blob/master/nip04.js for the implementation
I have used parts of ok300s implementation for NIP-04 in https://github.com/ok300/nostr-rs/blob/master/src/util/nip04.rs as an example when trying to implement it in nostr_rust
Good idea, but beware, the ok300s implementation uses "deprecated" libraries
https://github.com/emeceve/loquaz has it in Rust, I don't know how they did it.
oh, it's using https://github.com/futurepaul/nostr-rs
Which is based on obsolete libraries, I think I have solved almost all my problems but the only one that remains is the generation of the shared key which is not the same as on the nodejs library for example, and currently I will not be able to explain why
what obsolete libraries?