Commit Graph

9 Commits

Author SHA1 Message Date
ekzyis 907edd1e91 Better assertions + flow 2023-09-30 19:24:00 +02:00
ekzyis c03e3a5d44 Rename to chacha20_ 2023-09-30 16:06:07 +02:00
ekzyis aaaf9eea83 Add invalid ciphertext test vectors 2023-09-30 15:18:27 +02:00
ekzyis ea2b05b223 Formatting 2023-09-30 14:42:22 +02:00
ekzyis 154a8f6f8e Implement NIP-44 decrypt 2023-09-30 14:40:52 +02:00
ekzyis 0cbe107a98 Update encryption to v2 2023-09-30 14:00:53 +02:00
ekzyis d276299e67 Remove unnecessary else 2023-09-28 01:22:41 +02:00
ekzyis 41865c5107 Implement NIP-44 encrypt
* passes all valid encrypt test vectors

does not include:

* invalid test vectors
* decryption
* conversation key generation using privkey + pubkey
2023-09-28 01:13:09 +02:00
ekzyis 8ef947b350 initial commit 2023-09-27 20:54:32 +02:00