WebCrypto primitives
Uses crypto.subtle for AES-GCM-256 and PBKDF2. Crypto
operations are performed by the browser’s implementation, not by
custom math code.
x4 · client-side text encryption
x4 uses the browser’s WebCrypto API (AES-GCM-256 + PBKDF2) to process text locally. The tool’s code does not include logic to send your plaintext or passwords to a remote server.
insiders/translator.html
x4 focuses on transparent client-side protection. It does not promise perfect security; instead it clearly explains which mechanisms it uses and what they are intended to do.
Uses crypto.subtle for AES-GCM-256 and PBKDF2. Crypto
operations are performed by the browser’s implementation, not by
custom math code.
Derives keys from user passwords with PBKDF2 using relatively high iteration counts (within practical limits) and either SHA-256 or SHA-512, plus a calibration helper.
Applies four AES-GCM layers built from two passwords. Each layer has its own salt and IV, and the header is bound as additional authenticated data (AAD).
Expensive key derivation and encryption work run in a Web Worker so the UI stays responsive and less crypto logic lives on the main page.
The translator page is designed to be used with a Content Security Policy that limits scripts to your own files and blocks network connections from its JavaScript.
Includes password field clearing, conservative error messages and warnings when copying decrypted text to the clipboard, followed by a best-effort clipboard clear.
Many web tools send your input to a server for processing. x4 is written to operate on text directly in the browser tab. The charts below are qualitative and describe design choices, not measured performance.
Taller bars indicate a stronger focus on that design aspect.
Illustrates how designs differ in dependence on remote services. This is not a measured metric; it reflects intended behavior.
“Exposure” refers to how much the design relies on sending text to a server. x4’s translator is written to work on text directly in your browser.
Open the translator, encrypt a message and decrypt it again using the same passwords. For sensitive data, always use strong, unique passwords and a trusted device.