Commit Graph

6 Commits

Author SHA1 Message Date
Dylan Cant ebe3d61484 added nip04.go docstrings
changed variable names in ComputeSharedSecret to emphasize that it is
agnostic about who is sender and who is receiver.
2023-01-16 21:55:34 -05:00
Wes van der Vleuten 3f2c3f1bd8 fix: nip04 remove extra padding 2022-12-23 11:35:24 -03:00
fiatjaf ad71e083d8 add some extra padding to decoy super small messages. 2022-12-14 16:17:37 -03:00
fiatjaf 8a8fd7c2b0 fix nip04 decryption padding and add tests. 2022-12-14 16:10:10 -03:00
fiatjaf 4a3aea6d4b update nip04 to btcec/v2 2022-12-11 19:01:36 -03:00
raphael 7760f53ce2 Adding nip04 (encrypted direct messages) support (#8)
* implementing encrypted direct messages

* added encrypted direct message support

Co-authored-by: Raphael <raphjaph@protonmail.com>
2022-02-06 10:16:09 -03:00