SuperCode IDE
JavaScript & Node IDE Hub/Web Crypto & node:crypto
4.9 ★ OFFLINE CRYPTO.SUBTLE + NODE:CRYPTO · AES-256-GCM · SHA-512

Air-Gapped JavaScript Web Crypto & node:crypto Sandbox on Android.

Never paste live JWT tokens, webhook signing secrets, or encryption test vectors into untrusted web tools. SuperCode runs both W3C crypto.subtle and node:crypto 100% offline — supporting AES-256-GCM, SHA-256/512, PBKDF2, and timingSafeEqual.

AES-256
GCM · CBC · CTR
SHA-512
Hash & HMAC
PBKDF2
Key Derivation
Dual
Subtle + node:crypto
01 OFFLINE NODE:CRYPTO & W3C SUBTLECRYPTO WORKBENCH
AES-256-GCM AuthTag · PBKDF2 · HMAC timingSafeEqual · crypto.subtle
js-crypto-sandbox/aes_gcm_vault.mjs — AES-256-GCM + PBKDF2 Offline
Interactive Console Output
Ready
node:crypto · AES-256-GCM
UTF-8 LF Ln 8, Col 1
02 CORE CAPABILITIES

Production-Grade Cryptographic Primitives Right on Your Phone

Build portable security utilities across browser/edge standards (`crypto.subtle`) and Node.js backend conventions (`node:crypto`) with zero internet exposure.

02.1

Both W3C crypto.subtle & Node.js node:crypto Built In

Write cross-runtime security modules using `globalThis.crypto.subtle` (`crypto.webcrypto`) alongside classic Node backend calls (`import crypto from 'node:crypto'`) — no polyfill bundles or external npm installs required.

crypto.subtle · crypto.webcrypto · node:crypto
02.2

AES-128/192/256 Authenticated Encryption (GCM, CBC, CTR)

Encrypt and decrypt payloads offline with `createCipheriv` / `createDecipheriv` or `crypto.subtle.encrypt` / `decrypt`. Full `getAuthTag()` and `setAuthTag()` support lets you verify AEAD ciphertext integrity accurately.

aes-256-gcm · aes-256-cbc · aes-256-ctr · AuthTag
02.3

SHA-256/512 Digests, HMAC Webhooks & timingSafeEqual

Verify GitHub/Stripe-style HMAC-SHA256 webhook headers, build zero-dependency HS256/HS512 JWT verifiers with `base64url` Buffers, and prevent timing side-channel attacks using `crypto.timingSafeEqual(a, b)`.

createHash · createHmac · base64url · timingSafeEqual
02.4

PBKDF2 Key Stretching & CSPRNG Randomness

Derive strong 256-bit keys from passphrases using `pbkdf2`, `pbkdf2Sync`, or `subtle.deriveBits`, and generate cryptographically secure salts, IV nonces, and v4 identifiers via `randomBytes()`, `getRandomValues()`, and `randomUUID()`.

pbkdf2Sync · randomBytes · getRandomValues · randomUUID
02.5

100% Air-Gapped Auditing for Sensitive Tokens & Payloads

Inspecting bearer tokens, OAuth PKCE `S256` code challenges, or encrypted config blobs during an incident? Toggle airplane mode and audit everything locally on your Android device with zero telemetry leakage.

Zero Network Leakage · PKCE S256 · JWT Auditing
02.6

File Checksum & Encrypted Backup Scripting With node:fs

Pair `node:crypto` directly with `node:fs` and `node:zlib` to generate SHA-256 integrity manifests across workspace folders or encrypt local JSON/SQLite snapshots before SFTP upload.

File SHA-256 Checksums · Encrypted Vault Scripts
Built for Phones, Foldables & Tablets · Lightweight 45 MB JavaScript & Node IDE Hub
03 STEP-BY-STEP WORKFLOW

How to Prototype & Verify Cryptography Offline in SuperCode

Verify hashes, HMAC signatures, and AES-GCM payloads locally in four clean steps.

STEP 01 import crypto from 'node:crypto'

Choose node:crypto or Standard globalThis.crypto.subtle

Open a `.mjs` or `.js` file — both Node's synchronous/streaming crypto APIs and Promise-based Web Crypto are immediately available.

STEP 02 pbkdf2Sync + randomBytes(12)

Generate CSPRNG Nonces & Derive Keys

Create cryptographic IVs, salts, or UUIDs and stretch passphrases into 32-byte AES-256 keys offline.

STEP 03 createCipheriv / createHmac

Run Encryption, Signing, or Constant-Time Verification

Tap Run ▶ to inspect hex/base64url outputs, authentication tags, and `timingSafeEqual` verification results in milliseconds.

STEP 04 fs.writeFileSync

Persist Checksums or Encrypted Artifacts to Folder

Save `.sha256` manifest files or encrypted payloads directly into your workspace for Git versioning or SFTP transfer.

100% On-Device Cryptographic Execution · Zero External npm Dependencies Required App Guide
04 CAPABILITY MATRIX

SuperCode Offline JS Crypto vs. Online Token/Hash Debuggers

SuperCode JavaScript Crypto Sandbox provides both W3C Web Crypto (crypto.subtle) and Node.js node:crypto offline on Android. Security engineers and backend developers can test AES-256-GCM authenticated encryption, SHA-256 and SHA-512 file hashing, constant-time HMAC JWT verification, PBKDF2 key derivation, and cryptographic UUID generation completely air-gapped on device.

MOBILE JAVASCRIPT CRYPTOGRAPHY & SECURITY SANDBOX COMPARISON
Security Capability SuperCode JS Crypto Studio Online JWT / Hash Websites Basic WebView JS Apps Desktop Node CLI
Secret Privacy 100% Offline Air-Gapped on Your Phone Risk of browser/network exposure Insecure HTTP WebView origin 100% Local
Node Crypto API Built-In node:crypto (Cipheriv, HMAC, PBKDF2) Not programmable Missing (`require` fails) Built-in
W3C Web Crypto Full crypto.subtle + randomUUID Offline Browser-dependent Often disabled on file:// Built-in (Node 19+)
Binary Encodings Full Buffer (hex, base64, base64url, utf8) Manual copy-paste conversion Clunky `atob`/`btoa` only Full Buffer
Workspace File Hashing Hash & Encrypt Real Local Folder Files Upload file to third party No local file access Full
Built for Phones, Foldables & Tablets · Lightweight 45 MB Google Play
05 QUESTIONS & ANSWERS

Frequently Asked Questions

Answers on offline Web Crypto, `node:crypto` ciphers, JWT verification, and secret safety.

Why does `crypto.subtle` work offline in SuperCode when it often fails in basic Android WebView apps?
Browsers restrict `window.crypto.subtle` on insecure `file://` pages. SuperCode's standalone JavaScript worker exposes both `globalThis.crypto.subtle` (`crypto.webcrypto`) and `node:crypto` natively offline with zero secure-context friction.
Which AES cipher modes and digest algorithms are supported offline?
You can run `aes-128`, `aes-192`, and `aes-256` across `GCM` (with 16-byte authentication tags), `CBC`, and `CTR` modes, alongside `SHA-1`, `SHA-256`, `SHA-384`, `SHA-512`, and `MD5` hashing and HMACs.
Does `Buffer.toString('base64url')` work for building and verifying JWTs?
Yes! SuperCode's `Buffer` implementation supports `utf8`, `hex`, `base64`, and RFC 4648 `base64url` encoding and decoding out of the box — making zero-dependency JWT and OAuth PKCE `S256` scripts trivial to write.
Are any keys or payloads transmitted over the network when running `node:crypto`?
Never. All `node:crypto` and `crypto.subtle` operations execute 100% locally on your Android device and work even with Wi-Fi and mobile data completely turned off.
06 JAVASCRIPT, NODE CORE & CRYPTO GUIDES

Complete JavaScript & Node IDE Documentation Suite

Explore the main Offline JavaScript IDE hub and all 5 specialized ES2024 & Node.js guides.

JS-HUB ES2024 · 29 Node APIs · Pillar Hub

Offline ES2024 & Node Studio Overview

Main overview of SuperCode's isolated ES2024 JavaScript worker, 29+ offline Node.js core modules, dual ESM/CommonJS, and <1ms loop safety.

javascript-ide Open Guide →
JS-01 node:fs · path · stream · zlib

29+ Offline Node.js Core Modules

Use fs/promises, path, Buffer, EventEmitter, stream, zlib, readline, util, and package.json ESM + CommonJS modules 100% offline on Android.

javascript-node-core-modules-offline Open Guide →
JS-02 Top-Level await · BigInt · Fetch

ES2024 Async, Top-Level Await & Fetch

Run modern ES2024 syntax, top-level await, async generators, console.table(), and <1ms loop-guarded worker scripts without dummy HTML files.

javascript-es2024-async-console Open Guide →
JS-03 crypto.subtle · AES-256 · HMAC

Node & Web Crypto (AES-GCM / SHA)

Prototype cryptographic hashing, HMAC, PBKDF2, UUIDs, and AES-256-GCM encryption offline using both Web Crypto and node:crypto APIs.

javascript-web-crypto-security Viewing Guide
JS-04 6 Templates · => Symbol Bar · JSON

Learn JS & Practice DSA Offline

Master JavaScript algorithms, functional arrays, and JSON manipulation anywhere in airplane mode with AST autocomplete and 1-tap formatting.

learn-javascript-dsa-android Open Guide →
JS-05 JSON/JSONC · Regex · Fetch API

JSON/JSONC Formatter, Regex & REST Fetch

Beautify and validate huge JSON/JSONC payloads offline, test ES2024 regular expressions with named capture groups, inspect console.table() outputs, and prototype fetch() REST APIs.

javascript-json-regex-formatter-android Open Guide →
6 Interconnected JS/Node Guides · ES2024 + 29 Built-In Offline Node Modules JavaScript & Node IDE Hub