This SDK ACTUALLY implements all claimed security features:
- ✅ AES-256-GCM - Real implementation with ENFORCED 12-byte IV
- ✅ ChaCha20-Poly1305 - Real RFC 8439 compliant implementation
- ✅ AAD Required - AAD is mandatory for all encrypt/decrypt operations
- ✅ HKDF - Real HKDF-SHA256 key derivation
- ✅ Memory Zeroization - Real secure memory clearing
- ✅ Timing-Safe Operations - Real constant-time comparisons
- ✅ Typed Errors - Complete error taxonomy
- ✅ NIST Test Vectors - Real SP 800-38D compliance
- ✅ Standardized Envelope - Consistent {v,alg,kid,iv,tag,ct,aad} format
npm install @averox/python-new-crypto-sdkimport { AveroxCrypto } from '@averox/python-new-crypto-sdk';
// Generate master key
const masterKey = AveroxCrypto.generateMasterKey();
const crypto = new AveroxCrypto(masterKey);
// AAD is REQUIRED (not optional)
const aad = Buffer.from('important-metadata');
const encrypted = crypto.encrypt('Hello World', aad);
// Decrypt with same AAD
const decrypted = crypto.decrypt(encrypted, aad);
console.log(decrypted.toString()); // "Hello World"Generated: 2025-10-20T07:21:54.344Z