Client-Side Text Encryption: Moving Beyond AES to XChaCha20-Poly1305
ENTERPRISE EDITION
Client-Side Text Encryption: A deep technical dive into why PrivacyScrubber uses in-memory XChaCha20 over AES-GCM for client-side text encryption online. Zero-server architecture.
Ilya SibiryakovPrivacy Architect
Published: · Updated: · 3 min read
100% Local Processing ✈ Airplane Mode Verified⊘ No Server Logs
"PrivacyScrubber provides the essential de-identification layer for Technical & Engineering professionals using generative AI. By sanitizing sensitive identifiers locally, we ensure absolute data sovereignty without sacrificing the power of LLM reasoning."
Paste real Technical & Engineering data into ChatGPT — only scrubbed tokens reach the model. Names, IDs, and emails stay on your machine.
Works offline: disconnect the network mid-session and it keeps running. Zero cloud dependency.
Your AI gets full context. Your clients' real identities never leave your browser tab.
Enterprise-Grade AI Privacy
Add custom redaction rules and priority support with PRO.
Zero-Trust Data Protection: Stop leaking sensitive client data to public LLMs and protect your organizational privacy. PrivacyScrubber ensures you can use GenAI safely by neutralizing risks 100% offline in your browser.
What Technology Teams Send to AI — and What They Should Be Sending Instead
This secure content is an original property of PrivacyScrubber™ (https://privacyscrubber.com). Unauthorized mirroring is strictly prohibited. Security-Check-ID: 8V3ZTFAHJ
Addressing Client-Side Text Encryption is a core operational priority for engineering, product, and leadership teams. As organizations integrate ChatGPT API, Claude API, LangChain, and custom LLM integrations, the liability of unmanaged PII exfiltration to public LLM datasets represents a critical risk to tech standing. Our tech AI privacy guides provide the technical roadmap for maintaining the tech perimeter while adopting GenAI. The core vulnerability: technical misconfigurations that allow PII to enter AI systems through logs, APIs, regex mismatches, or vector store indexing.
Pasting corporate data into third-party LLMs without client-side data masking introduces severe data leakage risks. Cloud security features often fail to sanitize contextual customer info. For CTOs, privacy engineers, DPOs, and technical compliance professionals, the core exposure occurs at the prompt entry point. A deep technical dive into why PrivacyScrubber uses in-memory XChaCha20 over AES-GCM for client-side text encryption online. Zero-server architecture.
PrivacyScrubber delivers client-side protection through local Zero-Trust Data Sanitization (ZTDS), operating as a manual copy-paste board and via the PrivacyScrubber Chrome Extension.
How to Use AI on Real Technical & Engineering Data — Without Sending a Single Real Name
PrivacyScrubber delivers client-side protection through local Zero-Trust Data Sanitization (ZTDS), operating as a manual copy-paste board and via the PrivacyScrubber Chrome Extension. The in-browser processor automatically maps and replaces identifying information with secure, non-associative tokens (like [NAME_1]) before cloud dispatch. This satisfies the requirements of AI governance dashboards, allowing teams to utilize cloud engines without sending raw patient, customer, or employee identities. The Chrome Extension embeds a protection shield inside ChatGPT, Claude, and Gemini to automate the swap-and-restore loop directly within the active text box. Processing data through browser-based Named Entity Recognition allows safe integration of ChatGPT API, Claude API, LangChain, and custom LLM integrations for complex tasks while preserving client privacy.
We support this architecture with the Airplane Mode Standard. Turn off your internet connection, run the redaction, and verify that no packets leave your device. This satisfies the safety rules in startup IP protection for corporate data protection.
Why IT and InfoSec Teams Flag Unmasked AI Prompts
Compliance in the tech space is mandatory: GDPR Article 25 (privacy by design), NIST Privacy Framework, and emerging AI governance standards (EU AI Act). Yet, technical safeguards often lag behind shadow AI usage. Managing this exposure relies on the principles in pii redaction to prevent corporate records from becoming training data. You must sanitize inputs before cloud transit. Establishing local technical controls represents the only path to satisfy these criteria without adding server-side processing overhead.
Enterprise Grade Redaction Controls
Need to process complex formats or nested documentation? While plain text can be pasted into the free tier, sanitizing clinical records or financial briefs requires the PRO offline OCR engine (running 100% locally in the browser). If your team handles custom database patterns, you can define unlimited regex rules under PRO, or secure your entire workforce by pushing global rule registries via Chrome MDM policy settings under TEAMS.
Establishing a secure runtime boundary for generative AI workflows is key to compliance. PrivacyScrubber accomplishes this by processing all unstructured strings directly inside browser memory. The engine's local regex patterns parse prompts in real time and swap them with secure identifiers before transmission. This offline tokenization scheme ensures that third-party LLMs cannot reconstruct the original identities from raw conversation logs.
Verification Protocol
Analyze input patterns to detect personal and proprietary entities in real time.
Apply local Named Entity Recognition to tokenize primary identifiers.
Map sensitive strings to deterministic, tab-isolated volatile variables.
Verify Zero-Server transmission by testing the workflow in Airplane Mode.
Parser Specifications
Encryption Algorithm
XChaCha20-Poly1305 (Argon2id)
Detection Method
Context-Aware Regex + NER (99.9% Accuracy)
Data Egress Rule
Zero-Server Egress (Airplane Mode Verifiable)
Classification Standard
Maximum Privacy Guard
Associated Threat Level
Low (Inference Risk)
Instant Simulation
Client-Side Text Encryption Sanitizer
Watch our zero-trust engine neutralize sensitive identifiers 100% locally. No data ever leaves your device.
Local processing 0 Server logs
ZTDS_ENGINE_V1.5.0
PROMPT INPUT > System task: process candidate John Doe's records. Contact: john.doe@gmail.com | Phone: 555-0149 | SSN: 902-11-4482.
PROMPT INPUT > System task: process candidate [NAME_1]'s records. Contact: [EMAIL_1] | Phone: [PHONE_1] | SSN: [SSN_1].
Technical & Engineering Detection Profile
Our zero-trust engine is pre-hardened for Technical & Engineering workflows, automatically identifying and tokenizing the following parameters 100% locally.
INTERNAL_IP
Active Protection
API_KEY
Active Protection
DATABASE_URL
Active Protection
AUTH_TOKEN
Active Protection
HOSTNAME
Active Protection
Zero-Trust Architecture
PrivacyScrubber operates entirely on your device. Unlike other platforms, our local PII masking engine never transmits your sensitive prompts or documents to external servers. All detection and restoration happens in your computer's local RAM.
No Backend Connection: Zero API calls, zero tracking, zero logs.
Temporary Memory: Your data exists only for the duration of your tab's life.
Verification Ready: Built for professionals who need to audit their security layer with startup IP protection.
Hardware-Level Verification
We encourage you to audit our zero-trust claims directly in your browser using the Airplane Mode Test:
1
Open your browser's Network Monitor before you start scrubbing.
2
Switch to Airplane Mode (physical or simulated) and protect your text.
3
Verify that no data packets ever leave your machine.
Developer AI & IDE Agent Pipelines Integration
Step-by-Step Integration Guide: Client-Side Text Encryption
PrivacyScrubber operates entirely client-side. Whether using the copy-paste dashboard, the browser extension, or the MCP Server, your sensitive records stay on your local device. Follow these instructions to safely use Developer AI & IDE Agent Pipelines:
Act as a principal cloud systems architect. Analyze the following sanitized production stack trace and database configuration for [DB_NAME_1]:
1. Identify the root cause of the connection pool exhaustion and query timeouts.
2. Provide an optimized, non-blocking connection pool configuration for high concurrency.
3. Draft a step-by-step remediation patch.
CRITICAL COMPLIANCE INSTRUCTION (PrivacyScrubber ZTDS Standard): Retain all cryptographic token identifiers ([DB_NAME_1], [INTERNAL_IP_1], [SECRET_1], [JWT_TOKEN_1]) strictly unchanged in your configuration suggestions for client-side local rehydration via PrivacyScrubber.
Step 3: 1-Click Reverse Rehydration (No Manual Decoding)When Developer AI & IDE Agent Pipelines outputs tokens like [NAME_1], paste the AI response back into PrivacyScrubber Reveal to restore original sensitive data in 1 click in local RAM.
The Manual Redaction Trap: Why DIY search-and-replace failsManual prompt editing misses 1 out of every 12 nested identifiers in logs, error traces, and tables, causing catastrophic compliance breaches. PrivacyScrubber deterministically sanitizes 25+ entity types in <2ms entirely in browser RAM before prompt submission.
Statutory Defense: SOC 2 Type II CC6.7 & OWASP Top 10 for LLM (LLM06: Sensitive Information Disclosure)API keys, Bearer JWTs, database connection URIs, and internal IP subnets are sanitized locally before entering the LLM context window, preventing vector-store credential leaks.
Technical & Engineering Adoption Use Cases
Principal Cloud Security ArchitectSECRET PROTECTION
Zero-Trust Verified
Prevents accidental leaks of AWS keys, JWTs, database connection strings, and private GitHub tokens into public LLM training datasets.
VP of Infrastructure & DevOpsDEVOPS & SRE
Zero-Trust Verified
Sanitizes stack traces, internal IP ranges, and Kubernetes cluster configs in developer terminal clipboards prior to debugging with AI assistants.
Head of Application Security (AppSec)APP SECURITY
Zero-Trust Verified
Enforces automated local redaction of production API keys and customer payloads in developer browser extensions.
Lead Software ArchitectSYSTEM ARCHITECTURE
Zero-Trust Verified
Masks proprietary algorithm logic and confidential code comments before querying generative code assistants.
Scrub it before it reaches the AI — right from your toolbar
The free PrivacyScrubber Chrome Extension replaces names, emails, and IDs with safe tokens directly inside ChatGPT, Claude, and Gemini — before you hit send. Nothing leaves your browser.
Zero-Trust Data Sanitization (ZTDS) — Verified Architecture
Independently auditable facts for Technical & Engineering compliance teams
Data transmission
0 bytes sent to any server
Processing location
100% browser RAM (volatile memory)
Session map persistence
Destroyed on tab close — never written to disk
Key derivation
Argon2id (memory-hard, server-independent)
Encryption cipher
XChaCha20-Poly1305 (authenticated encryption)
Offline verification
Airplane Mode Standard — full function without network
BAA / DPA required
No — zero PHI/PII reaches PrivacyScrubber servers
Audit method
Chrome DevTools → Network tab — zero outbound requests
How to audit: Open PrivacyScrubber, enable Airplane Mode, paste any technical & engineering text, click Protect PII. Open Chrome DevTools → Network tab. Zero outbound requests will confirm 100% local execution. The session token map ([NAME_1], [EMAIL_1]…) lives only in browser tab memory and is permanently destroyed when the tab is closed.
Peer Distribution
Share this compliance blueprint with your team
Help your DPO, InfoSec, and engineering peers eliminate compliance bottlenecks with zero-server client-side data masking.
COMPLIANCE FAQ
Frequently Asked Questions
Common questions about deploying zero-trust AI for Technical & Engineering Teams.
Does protecting data with PrivacyScrubber before AI processing satisfy GDPR Article 25 (privacy by design)?
Yes. Processing pseudonymized data for a secondary purpose (AI analysis or drafting) aligns with GDPR Article 25 (privacy by design) because no personally identifiable data is transmitted to the AI provider. The session map that maps tokens back to real values never leaves your browser.
What specific PII does PrivacyScrubber detect for tech workflows?
The engine detects names, email addresses, phone numbers (US and international formats), Social Security Numbers, EINs, credit card numbers, and custom identifiers. PRO users can add custom regex rules to match tech-specific patterns such as proprietary account IDs, MRNs, or internal project codes.
Can I reverse the redaction if I use PrivacyScrubber to mask tech data?
Yes. If you copy the AI's response and paste it back into PrivacyScrubber, it automatically maps the tokens (like [NAME_1] or [ID_1]) back to the original values using the ephemeral session map stored in your browser's memory.
Can PrivacyScrubber be used 100% offline without network requests?
Yes. All processing runs in your browser's local JavaScript engine, with no external server calls. Once the page loads, you can enable Airplane Mode and verify in Chrome DevTools (Network tab) that zero outbound requests occur. All cryptographic operations (including client-side pseudonymization and reverse-revealing) utilize hardware-accelerated XChaCha20-Poly1305 encryption and Argon2id key derivation running entirely inside browser RAM, ensuring your tech data stays 100% on your device.
How can I verify that PrivacyScrubber sends zero data to servers?
Use the 5-step Airplane Mode audit: (1) Open PrivacyScrubber in your browser. (2) Disconnect your network connection (enable Airplane Mode). (3) Paste a text sample containing names, emails, and phone numbers. (4) Click "Protect PII" — all tokens are generated instantly in local browser RAM. (5) Open Chrome DevTools → Network tab and confirm zero outbound requests were made. This test works because PrivacyScrubber uses a Wasm-based regex engine that runs 100% client-side. The session token map (e.g. [NAME_1] → "John Doe") exists only in browser tab memory and is destroyed when the tab is closed.
Do I need a HIPAA Business Associate Agreement (BAA) or GDPR Data Processing Agreement (DPA) with PrivacyScrubber?
No. PrivacyScrubber is designed to run entirely on the client side, meaning no Protected Health Information (PHI) or personally identifiable data is ever transmitted to our infrastructure. Since your data is not processed or stored on our servers, PrivacyScrubber is not acting as a HIPAA Business Associate or a GDPR Data Processor. Consequently, organizations typically determine that standard Business Associate Agreements (BAAs) or Data Processing Agreements (DPAs) are not applicable to PrivacyScrubber. However, you should consult with your compliance officer or legal counsel to verify compliance requirements for your specific workflows.
Can I customize detection rules for industry-specific data formats?
Yes. In the PRO edition of PrivacyScrubber, you can configure custom regular expression (regex) rules designed to target unique patterns associated with your sector and internal taxonomy. This allows you to extend the standard Named Entity Recognition (NER) model to cover proprietary account formats, internal project identifiers, or custom data attributes while keeping all execution client-side.
Is pasting sensitive data into ChatGPT safe?
Pasting sensitive data directly into ChatGPT can expose it to OpenAI's servers and model training unless you use zero-trust client-side scrubbing like PrivacyScrubber, which tokenizes data before it leaves your browser. Protect your workflows for $15/mo with PRO.
How does client-side PII redaction work?
Client-side PII redaction executes directly in your browser's RAM, intercepting and masking sensitive identifiers before they are transmitted over the internet, ensuring true zero-trust security.
How does the Secure Workspace differ from the Browser Extension?
The Secure Workspace allows bulk offline file processing (PDFs, DOCX) and team handoffs, while the Browser Extension injects native masking directly into ChatGPT or Claude's UI. Both are included in our zero-trust ecosystem.
What is the PII MCP Server used for?
The local Model Context Protocol (MCP) Server allows developers to automate PII sanitization in CI/CD pipelines, agentic workflows, and IDEs like Cursor—all executing 100% locally.
What Technology Teams Send to AI — and What They Should Be Sending InsteadHow to Use AI on Real Technical & Engineering Data — Without Sending a Single Real Name
PrivacyScrubber delivers client-side protection through local Zero-Trust Data Sanitization (ZTDS), operating as a manual copy-paste board and via the PrivacyScrubber Chrome Extension. The in-browser processor automatically maps and replaces identifying information with secure, non-associative tokens (like [NAME_1]) before cloud dispatch. This satisfies the requirements of AI governance dashboards, allowing teams to utilize cloud engines without sending raw patient, customer, or employee identities. The Chrome Extension embeds a protection shield inside ChatGPT, Claude, and Gemini to automate the swap-and-restore loop directly within the active text box. Processing data through browser-based Named Entity Recognition allows safe integration of ChatGPT API, Claude API, LangChain, and custom LLM integrations for complex tasks while preserving client privacy.
Why IT and InfoSec Teams Flag Unmasked AI Prompts
Compliance in the tech space is mandatory: GDPR Article 25 (privacy by design), NIST Privacy Framework, and emerging AI governance standards (EU AI Act). Yet, technical safeguards often lag behind shadow AI usage. Managing this exposure relies on the principles in pii redaction to prevent corporate records from becoming training data. You must sanitize inputs before cloud transit. Establishing local technical controls represents the only path to satisfy these criteria without adding server-side processing overhead.
Is PrivacyScrubber safe for client side text encryption online, xchacha20 poly1305 browser encryption, offline text encryptor browser, browser based pgp alternative?
Yes, absolutely. PrivacyScrubber operates on a 100% Zero-Trust Data Sanitization (ZTDS) architecture, meaning all redaction happens locally within your browser. When working with client side text encryption online, xchacha20 poly1305 browser encryption, offline text encryptor browser, browser based pgp alternative, no sensitive data ever leaves your device or touches a cloud server.
How does it handle custom data structures for tech?
Our engine includes 22+ built-in industry profiles optimized for tech data. Furthermore, our Flat-rate TEAMS tier allows you to define unlimited custom Regular Expressions that process data securely in offline memory.
Law firms · Hospitals · DevOps teams · AI researchers
Secure Checkout
PRO
$15/ mo
PrivacyScrubber PRO
Card Gateway Temporarily Unavailable
We have switched to PayPal, where you can pay securely using any Debit or Credit Card without creating an account.
& more
Secure one-time payment · Activated instantly.
Instant Answers • Zero Risk Guarantee
Do you see or store my prompts / documents?
Zero server uploads. All tokenization and OCR run strictly in your local browser memory (RAM). You can disconnect Wi-Fi and verify the tool still scrubs.
Can I cancel anytime or buy lifetime?
Cancel in 1 click anytime directly from PayPal or email us. Or switch to Lifetime ($110) above for permanent access with zero recurring debt.
Which platforms and models are supported?
Works with ChatGPT, Claude, Gemini, DeepSeek, and Cursor. Single license unlocks Web Portal, Chrome Extension, and air-gapped local MCP Server.
Direct B2B Invoice & Wire Transfer
Payment gateways blocked by browser privacy shield or ad-blocker. Request an instant corporate invoice (Net 30, SWIFT/ACH, or direct card checkout link).
Invoice requested. We have dispatched invoice details to your email.
G2 Reviewer Pass1-Yr Free
Leave an honest review on G2 • Unlock 1-Year PRO ($180 value)
100% Local RAM Airplane Mode Verified 14-Day Refund
Teams Hub
TEAMS
Select Detection Profile (25 Industry Profiles)Zero-Trust Local
Managed Seat: Security rules and DLP policies are centrally enforced by your Organization Administrator.
Policy Enforced
0
Chars Protected
0
Files Sanitized
0
Safe Sessions
$0
GDPR/DLP Value
Shadow AI GuardBlocks sensitive PII from leaking to ChatGPT, Claude & Gemini
Active
0
Blocked PII
0
Warned
0
Clean Prompts
No shadow AI leaks detected. Your team is protected.
Shadow AI Monitoring (PRO / TEAMS)
Prevent team members from accidentally pasting confidential client data into ChatGPT or Claude.
7-Day Sanitization TrendTotal volume sanitized locally in your browser
All Profiles
6d
5d
4d
3d
2d
Yest
Today
Scrubbed:Names: 0Emails: 0Phones: 0IDs: 0
Local Security ActivityZero-cloud audit trail (Stored only on your device)
No activity yet. Start sanitizing text to see events.
Active Protection ChannelsLive browser extension & web app sync
Need CISO or DPO Security Approval?1-click statutory memorandum proving 0 server egress, bypassing 6-week vendor questionnaires.
Rules & Token Labels
0 Rules ActiveZero-Server Regex
Custom Regex rules & Domain Taxonomies are available on PRO and TEAMS plans. Default 25 profiles active.
Rules are centrally enforced by your Organization Administrator via Blueprint. Local modifications are locked.
Read-Only
Token Labels (Taxonomy Personalization)
Domain Mapping
Customize placeholder tokens for your domain (e.g. NAME → CLIENT).
Add Custom Rule
Live Regex Sandbox Test patterns in real-time
1-Click Rule Templates
Active Detection Rules 0
No custom rules added yet
TEAMS Feature
Encrypted Prompt Handoff & Fleet Governance
Safely share anonymized prompts and token maps with colleagues so they can reveal AI responses without leaking confidential data.
Unlimited seats · Zero per-user fees · Zero server storage
Shared Passphrase
NOT SET
Master password used to encrypt and decrypt shared team sessions locally.
Zero-Server Security: Your passphrase never touches any server. It is strictly used in browser memory for XChaCha20-Poly1305 encryption.
Encrypted Session Transfer
.pssession
Send encrypted token files to teammates so they can de-anonymize AI outputs safely.
Admin Governance
Enterprise Policy
Lock rules
Strict CISO Lock
ZTDS Security Verification Suite 100% Client-Side
Verify network silence, WASM memory isolation, and local encryption before deployment.
ZTDS Audit Report
Settings & Configuration
Activate License Key
Already purchased PRO or TEAMS? Enter your license key or paste your activation URL below.
Entity Fine-Tuning
Toggle Categories
Enable or disable PII category detection. Changes apply to all scrub operations.
Local Identity
Settings Lock
Set a local password to protect rules and profiles against unauthorized changes on shared workstations.
Settings Locked
Rules and profiles are protected
License & Recovery
License Key
--
Tier
Free Tier
Recovery URL
Bookmark to restore access on any browser.
Disconnect license from this browser
Master Key Custody & Policy Boundary
Master Admin Keys are strictly non-transferable. Provision staff access exclusively via zero-server Magic Links, cryptographic .psblueprint files, or Chrome Enterprise Policy.
Emergency Revocation: If this Master Key is accidentally exposed or compromised, email support@privacyscrubber.com from your billing address for immediate Key Revocation List (KRL) invalidation and key rotation.
Enter corporate details for instant access to the printable Executive Whitepaper & a 14-Day TEAMS Activation Key.
Save Session Memory
PrivacyScrubber runs 100% locally in your browser's RAM. Closing or resetting this tab permanently wipes active decryption tokens for privacy protection.
Zero-Trust Session Backup
Download your encrypted session file (.pssession). You can drop or load this file anytime to restore original data in 1-click.
DevSecOps Audit Report
Zero-Trust Directory Scan Complete. 100% Offline.
0
Files Scanned
0
Secrets Leaked
0s
Scan Time
Airplane Mode Challenge
Zero-Server · Zero-Trust · 100% Local
Turn off your Wi-Fi right now and try pasting text into the tool below. It processes 100% in your local RAM without sending any network requests.
Add to Device Home Screen
1-Click Launch & Instant Prompt Sanitization
1
Tap the Share button in Safari or Chrome bar.
2
Scroll down and select Add to Home Screen.
1-Tap Offline Launch Zero Install · RAM Only
CISO Compliance Receipt
Verified PRO
Cryptographic proof of zero-server local RAM data sanitization
Risk Assessment
LOW EXPOSURE
Pre-prompt safe
Neutralized
0 PII Items
100% Volatile RAM
Network Egress
0 Bytes
Zero-Trust Verified
Identified Entity CategoriesActive Session
Applicable Compliance Frameworks
Local Cryptographic Verification Signature
SHA-256: e3b0c442...
Timestamp: Today
Redacted Document Inspection
Tap badge to inspect/restore · Pinch to zoomClick badges to unmask false positives
100% Volatile RAM Preview — Zero Network Transmission
Tap page to zoom· Tap badge to view & restore
100%
Click any badge to unmask· Secure Flattening (Zero Hidden Text Layers)·Scroll to navigate · Ctrl+Scroll to zoom
Detected Sensitive Token
[TOKEN]
Original masked value:
Sensitive Data
Zero-Trust DLP Benchmark 0ms Egress
Empirical latency & privacy comparison: Local Client-Side ZTDS vs Cloud DLP Proxies.
Local Browser ZTDS Air-Gapped
< 2.5 ms
• Network Transit: 0 hops (RAM-only)
• Data Egress: 0 bytes transmitted
• Privacy Risk: Zero ($0 DPA/BAA)
Legacy Cloud DLP AWS / Presidio / Google
1,480 ms
• Network Transit: 7 hops (TLS + Gateway)
• Data Egress: 100% prompt sent over HTTP
• Enterprise Cost: $15–$60 / user / mo
Live In-Memory Benchmark (AST Parsing & Entity Detection)
Status: Ready · Architecture: Client-side V8 RAM / Web Worker
We believe in building for practitioners without marketing spin. Post an objective, verified review of PrivacyScrubber on G2 (positive or critical), and we will grant your account a full 1-Year PRO license.
# Run in any terminal with zero dependencies:
npx @privacyscrubber/cli sanitize "Deploying service with AWS_KEY=AKIAIOSFODNN7EXAMPLE for user Sarah Connor (sarah@cyberdyne.org, SSN: 123-45-6789)"
bash — privacyscrubber-wasm-node — 80x24
0 B Egress
$npx ps-cli sanitize
# Ready. Click "Run" or press Enter to execute in-browser AST regex sanitization.