Core Features
StickCode v6.0.15 โ native compression, authenticated encryption, and streaming in one SDK.
AES-256-GCM Encryption
Authenticated encryption with a 12-byte IV and 16-byte GCM tag. Tampered payloads fail decrypt before decompression โ catch corruption early.
Brotli Compression (0โ11)
Native C++ Brotli encoder with configurable quality. Text-like formats (JSON, SQL, logs) compress strongly before encryption; binary formats are encrypted with minimal overhead.
Streaming I/O
pipeEncrypt / pipeDecrypt process 100 MB+ files with constant memory. CLI auto-selects buffer vs stream mode by file size and type.
Offline Operation
After first-time activation, the engine runs fully offline. License validation uses RSA signatures and a local .device_registry cache โ no heartbeat required.
HKDF Key Derivation
Licensed builds derive the AES key via HKDF-SHA256 from the server-signed activation token โ the key cannot be recovered from licenseId alone.
Prebuilt Native Binaries
Prebuilds via node-gyp-build โ most installs skip compilation. Published npm tarballs ship obfuscated JS with integrity signing.
Why StickCode?
One API replaces 30โ60 lines of Brotli + AES + framing + stream wiring. Built for enterprises storing massive JSON exports, SQL dumps, and log archives in constrained databases โ with commercial license enforcement built in.
- โ One-call encrypt / decrypt + streaming
- โ CLI (
stick enc/stick dec) for files on disk - โ Node.js 18+ ยท cross-platform prebuilds
- โ Auto version detection on decrypt โ wire byte + Brotli quality read from payload (details)