惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Heimdal Security Blog
A
Arctic Wolf
K
Kaspersky official blog
V
Vulnerabilities – Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
L
LINUX DO - 热门话题
MongoDB | Blog
MongoDB | Blog
T
Threat Research - Cisco Blogs
D
Docker
爱范儿
爱范儿
T
Tenable Blog
C
Check Point Blog
B
Blog
C
Cisco Blogs
Vercel News
Vercel News
The Cloudflare Blog
T
Threatpost
NISL@THU
NISL@THU
T
Tor Project blog
V2EX - 技术
V2EX - 技术
P
Palo Alto Networks Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Tailwind CSS Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
SecWiki News
SecWiki News
博客园 - 司徒正美
S
Security @ Cisco Blogs
GbyAI
GbyAI
S
Secure Thoughts
Microsoft Security Blog
Microsoft Security Blog
The Register - Security
The Register - Security
Recorded Future
Recorded Future
Cloudbric
Cloudbric
Webroot Blog
Webroot Blog
N
News and Events Feed by Topic
Y
Y Combinator Blog
博客园_首页
T
Troy Hunt's Blog
The Hacker News
The Hacker News
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
U
Unit 42
AWS News Blog
AWS News Blog
PCI Perspectives
PCI Perspectives
V
Visual Studio Blog
博客园 - 聂微东
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Building a Post-Quantum E2EE Library: Introducing Paranoia.ts (searching contributors)
Matéo Callec · 2026-05-15 · via DEV Community

The web security landscape is about to change dramatically.

For years, modern cryptography has relied on algorithms like RSA and elliptic-curve cryptography (ECC). They are battle-tested and secure against classical computers — but quantum computing changes the equation entirely.

Once large-scale quantum computers become practical, many of today’s public-key systems will become vulnerable.

That future may still be years away, but encrypted data stolen today can still be decrypted later.

This is why post-quantum cryptography (PQC) matters now.

And yet, if you are a JavaScript or TypeScript developer, the ecosystem for PQC is still surprisingly small.

That’s why I built Paranoia.ts.


What is Paranoia.ts?

Paranoia.ts is a TypeScript-first cryptography library designed for frontend and full-stack applications that need:

  • End-to-end encryption (E2EE)
  • Post-quantum resistance
  • Optimization

The goal is simple:

Make post-quantum encryption practical and accessible for JavaScript developers.

Repositories:


Why hybrid cryptography matters

One of the biggest problems in modern PQC adoption is uncertainty.

Post-quantum algorithms are newer than classical cryptographic systems. While they are standardized and heavily researched, they do not yet have the same decades-long track record as ECC.

So Paranoia.ts does not force developers to choose between classical cryptography and post-quantum cryptography.

It combines both.

The library currently uses:

  • ML-KEM-1024 (NIST FIPS 203)
  • P-521 ECDH
  • HKDF-SHA-384
  • AES-256-GCM

The key idea is hybrid security:

Scenario Classical ECC PQC only Paranoia.ts
Classical attacker ⚠️
Quantum attacker
PQC algorithm weakness
ECC weakness

In practice:

An attacker would need to break both ML-KEM-1024 and P-521 simultaneously to recover plaintext.

That significantly improves resilience against future uncertainty.


Example: Post-Quantum E2EE in TypeScript

The library is intentionally designed to feel simple.

import { Paranoia } from 'paranoia-ts';

const paranoia = new Paranoia();

// Generate hybrid ML-KEM + P-521 keypair
const keyPair = await paranoia.generateKeyPair();

// Encrypt
const sealed = await paranoia.sealTo(
  new TextEncoder().encode('Top secret message'),
  keyPair.publicKey
);

// Decrypt
const plain = await paranoia.unsealWith(sealed, keyPair);

console.log(new TextDecoder().decode(plain));

Enter fullscreen mode Exit fullscreen mode

The objective is to expose advanced cryptography through a developer-friendly API without sacrificing transparency.


Beyond PQC: Experimental security features

Paranoia.ts also explores ideas that are still relatively uncommon in web cryptography libraries.

Some are experimental by design.

Webcam-based TRNG

One of the most unusual features in the project is webcam entropy generation.

The library can harvest webcam sensor noise and pixel variation as an additional entropy source.

const stream = await navigator.mediaDevices.getUserMedia({ video: true });

await paranoia.enableWebcamEntropy(stream);

Enter fullscreen mode Exit fullscreen mode

Internally:

  • Pixel noise is sampled from webcam frames
  • Data is hashed with SHA3-256
  • Mixed into the CSPRNG pool via HMAC

This does not replace the browser’s cryptographically secure RNG.

Instead, it augments entropy generation for environments where additional randomness is desirable.


WebAuthn PRF integration

Another major feature is WebAuthn PRF support.

This enables hardware-backed key unlocking using:

  • Biometrics
  • Security keys
  • Platform authenticators

The result is a workflow where users can unlock encrypted keypairs with a fingerprint or security key rather than repeatedly entering passwords.

const { credentialId, prfKey } = await registerWebAuthnPRF();
await storeKeyPair(keyPair, prfKey, 'my-key');

Enter fullscreen mode Exit fullscreen mode

This brings together:

  • WebAuthn
  • Browser-native crypto
  • Post-quantum encryption
  • Secure local storage

…inside a single TypeScript library.


Security philosophy

One thing I want to make explicit:

Paranoia.ts does not pretend JavaScript is a perfect environment for high-assurance cryptography.

The README openly documents limitations such as:

  • Garbage collector memory copying
  • Non-wipeable JS strings
  • Browser implementation constraints

The project tries to balance:

  • Practicality
  • Browser compatibility
  • Transparency
  • Defense in depth

Security tooling should be honest about tradeoffs.


Reference implementation

To demonstrate real-world usage, I also built a complete encrypted messaging application using Paranoia.ts:

It demonstrates:

  • End-to-end encrypted chat
  • Hybrid PQC encryption
  • WebAuthn biometric unlock
  • Secure key storage
  • Full-stack integration

Stack:

  • React
  • NestJS
  • Docker
  • TypeScript

Looking for contributors

This project is still early, and there is a lot to build.

I am currently looking for contributors interested in:

Security

  • Cryptographic review
  • Threat modeling
  • Side-channel analysis
  • Security auditing
  • Protocol analysis

Engineering

  • WebAssembly optimization
  • Browser compatibility
  • Performance improvements
  • DX improvements
  • Test coverage
  • API design

Research & experimentation

  • Additional PQC algorithms
  • Better entropy collection
  • Secure memory handling
  • Hardware integration
  • Advanced WebAuthn flows

Why contribute?

PQC is going to become one of the defining security challenges of the next decade.

JavaScript applications will eventually need:

  • Quantum-resistant encryption
  • Browser-native secure key management
  • Better client-side cryptography

The ecosystem around this is still very small.

This is an opportunity to help shape what post-quantum cryptography tooling looks like for the web.

All contributors will be publicly credited.


Final thoughts

I believe the future of web security will require:

  • Hybrid cryptography
  • Hardware-backed authentication
  • Better entropy systems
  • Developer-friendly APIs
  • Open-source collaboration

Paranoia.ts is an attempt to explore that future.

If this sounds interesting to you, feel free to contribute, review the code, open issues, or simply share feedback.

Repositories:

I’d love to hear thoughts from other developers and security researchers working in this space.