13 Commits

Author SHA1 Message Date
fiatjaf
cb74908f5d use base64x everywhere instead of encoding/base64. 2025-03-07 10:06:46 -03:00
fiatjaf
1bed62c7af nip04: one more test to make @mleku happy. 2024-07-31 20:49:06 -03:00
fiatjaf
a9972245f3
nip04: augment tests with cross-compatibility vectors. 2023-12-02 13:13:32 -03:00
Yasuhiro Matsumoto
e55f5492ab fix typos 2023-09-11 15:57:05 -03:00
Isaque Veras
58d56abe05 fix: removing redundancy 2023-06-12 08:18:29 -03:00
fiatjaf
411718f3c1
reformat nip04 errors. 2023-03-31 09:30:33 -03:00
cj-chua
b278230cdb
Nip04 decrypt (#65)
Co-authored-by: cj-ibex <chongjin@ibexmercado.com>
2023-02-22 20:35:39 -03:00
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