Quick Start
Encrypting Private Keys
Secure storage of private keys for wallet backup:Additional Authenticated Data
Bind ciphertext to unencrypted metadata:Encrypt JSON Data
Testing
Error Handling
Interface
Security Notes
- Never reuse nonces with the same key - this completely breaks security
- Use 256-bit keys for maximum security
- Store nonces with ciphertext - they don’t need to be secret but must be unique
- AAD is not encrypted but is authenticated - tampering with it invalidates decryption

