Upgrade nip4 and nip44 to be able to handle 1MB payloads.

This commit is contained in:
2025-10-24 18:56:30 -04:00
parent 45fb6d061d
commit 23c2a58c2b
16 changed files with 216 additions and 96 deletions

View File

@@ -13,7 +13,7 @@ extern "C" {
#endif
// NIP-44 constants
// #define NOSTR_NIP44_MAX_PLAINTEXT_SIZE 65535
// #define NOSTR_NIP44_MAX_PLAINTEXT_SIZE 1048576
/**
* NIP-44: Encrypt a message using ECDH + ChaCha20 + HMAC