Node.js Data Protection SDK · v6.0.15

Compress. Encrypt.
Stream.

One API replaces 30–60 lines of Brotli + AES + framing + stream wiring.

$ npm install stickcode
Try Live Demo →
1 call
Full pipeline
.scnp
Output format
254 MB
Stress tested
18+
Node.js
The swap

What you stop building

manual-pipeline.js
// Typical DIY — 30–60 lines per service
const compressed = zlib.brotliCompressSync(data, opts);
const iv = crypto.randomBytes(12);
const cipher = crypto.createCipheriv('aes-256-gcm', key, iv);
const encrypted = Buffer.concat([
  cipher.update(compressed), cipher.final()
]);
const tag = cipher.getAuthTag();
// + wire format, streams, decrypt path…
production.js
const stickcode = require('stickcode');

await stickcode.initFromFile(); // *.lic in project
const packed = stickcode.encrypt(data, { quality: 6 });
const restored = stickcode.decrypt(packed);

Text data compresses strongly · Binary/video encrypts with minimal overhead

Quick Start

Ship in minutes

1

Install

npm install stickcode

Prebuilt native binaries — no compiler needed. Updates: npm update stickcode (guide).

2

Activate license

LIC-2026-HKQVD_FreeNbuy123.lic

One-time online activation per machine. Key derived via HKDF — never hard-coded.

3

Encrypt

stick.js enc report.json
→ report.json.scnp

CLI or programmatic API — same pipeline.

Programmatic API

await stickcode.initFromFile();
const packed = stickcode.encrypt(input, { quality: 6 });

// Large files — constant memory
await stickcode.pipeEncrypt(
  fs.createReadStream('backup.sql'),
  fs.createWriteStream('backup.sql.scnp')
);

Command line

# Encrypt any file → .scnp
node node_modules/stickcode/stick.js enc report.json

# Decrypt (auto-detects format)
node node_modules/stickcode/stick.js dec report.json.scnp

# JSON, SQL, logs, MP4, SQLite…

One native pipeline

C++ · Brotli · AES-256-GCM · N-API

📄
Input
JSON · SQL · logs
🗜
Brotli
Quality 0–11
🔐
AES-GCM
Auth tag verified
📦
.scnp
~28B overhead
Compatibility

Built-in version support

No guesswork on decrypt. The engine reads format metadata from the binary itself.

📤

Encrypt → always latest

Every encrypt() writes wire version 0x05. You only choose Brotli quality (default 6).

📥

Decrypt → auto-detect

Reads version byte (0x05/0x00) and Brotli level from the payload. No quality param needed.

⬆️

Upgrade SDK safely

6.x .scnp archives open after npm upgrade — no re-encryption required.

Wire layouts, CLI auto-detect, legacy format notes: full versioning guide →

Why teams choose StickCode

One call

Compress + encrypt + frame — no glue between modules.

🌊

Stream 100MB+

Constant RAM. No OOM on backups or dumps.

🛡

Tamper-proof

Modified data fails decrypt — catch corruption early.

🔄

Version-aware decrypt

Reads wire version byte + Brotli level from the payload. Upgrade SDK without re-encrypting 6.x archives. How it works →

⚙️

Native C++

Predictable speed — not hot-path JavaScript.

📉

Brotli ratios

Comparable compression on text — plus encryption.

Benchmarks

Real workloads

StickCode = compress + encrypt. Brotli/Gzip = compress only. Compare what you actually ship.

💡

Small payloads may be slower than raw Brotli — you get authenticated encryption in the same call. Large files and full pipelines are where StickCode saves the most engineering time.

Workload Size StickCode Brotli Gzip
JSON API 1.5 MB 75ms 37ms 27ms
Server logs 1.6 MB 23ms 24ms 20ms
Enterprise logs 152 MB 5.3s 6.1s 3.8s
Mixed payload 30 MB 409ms 491ms 1.1s
DB / JSON dump 254 MB 6.8s 6.2s 8.6s

Q4 · Node.js v22 · macOS · May 2026 · StickCode includes encryption

API

Payload encryption

~70–80ms on 1.5 MB JSON. One call replaces compress → encrypt → validate.

stickcode.encrypt(data, { quality: 6 })
Streaming

100–300 MB files

254 MB stress test: 5 rounds, all STABLE. No memory spikes.

pipeEncrypt(source, dest)
Backups

SQL & log archives

152 MB logs: 5.3s with auth built in. Output as .scnp.

stick.js enc backup.sql
Edge cases & notes
  • JPEG, MP4, ZIP — encrypt with minimal size change.
  • High-entropy data — secure wrap, little compression gain.
  • Full raw benchmark report available on request.

Built on proven standards

AES-256-GCM Brotli HKDF-SHA256 RSA-2048 License N-API / C++17

Live Engine Demo

Paste JSON, logs, or text — see real compression + encryption.

v6.0.15
0 / 5000
Original
0 B
Encrypted
0 B
Compress only
0 B
Savings
0%
Quality: Level 4 ~28B encryption overhead
AES-256-GCM v6.0.15
// Ready for v6.0.15 processing…

Select Your License

Tried the demo? Choose a plan — includes npm package + signed .lic file.

Evaluation

30-day trial license

Create an account, sign in, and submit a trial request from your account page.

Request trial →

Individual

$2,500/one-time
  • • 1 Dedicated Machine
  • • RSA-2048 Signed License
  • • 1 Commercial Product
  • • Standard Support

Payment Method

Buy License

By purchasing, you agree to our Terms.
All sales are final.

Most Popular

Small Business

$12,500/one-time

Single key · 10 devices

  • • Dynamic License Tracking
  • • Up to 10 Machine IDs
  • • Feature Flagging
  • • Priority Support

Payment Method

Get Team Bundle

Terms apply · All sales final.

Enterprise

$45,000/one-time
  • • Unlimited License Nodes
  • • Custom Features
  • • 24/7 Support & SLAs
  • • Integration Docs
Contact Sales

Terms apply · All sales final.