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

推荐订阅源

V
Visual Studio Blog
罗磊的独立博客
小众软件
小众软件
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
博客园_首页
N
Netflix TechBlog - Medium
B
Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
L
LangChain Blog
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
V
V2EX
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
博客园 - 【当耐特】

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - A19dammer91/MRS-Hybride-PQC: Hybrid Post-Quantum...
A19dammer91 · 2026-06-19 · via Show HN

Hybrid Post-Quantum cryptographic library combining Kyber1024 KEM, MRS(19,9) Diophantine key derivation, and AES-256-GCM encryption.

Overview

This library couples a post-quantum key encapsulation mechanism (Kyber1024, NIST Security Level 5) with a fast, constant-time number-theoretic key derivation step based on the MRS(19,9) Diophantine decomposition system. The two derived values are combined via XOR into a single session key, which is then used for authenticated encryption.

Architecture

Stage Function Description
Block 1 kyber_keygen, kyber_encapsulate, kyber_decapsulate Kyber1024 key encapsulation
Block 2 derive_mrs_master_key MRS(19,9) decomposition → fast O(1) key derivation (A0 = N mod 9)
Coupling hybrid_coupling k_combined = k1 XOR mk
Block 3 encrypt_payload, decrypt_payload AES-256-GCM AEAD encryption/decryption

Important: the MRS(19,9) component is a constant-time, O(1) key-derivation step, not an independent security layer. When session_id is public (the default usage pattern), derive_mrs_master_key contributes no additional entropy; all cryptographic security in that case comes from Kyber1024's k1. See Limitations below for when this step does add independent security value.

Usage

use mrs_auth_pqc::MrsAuthKem;

let keypair = MrsAuthKem::kyber_keygen();

let packet = MrsAuthKem::full_encrypt(
    &keypair.public_key, 
    session_id, 
    hkdf_context, 
    &nonce, 
    associated_data, 
    plaintext, 
)?;

let plaintext = MrsAuthKem::full_decrypt(
    &keypair.secret_key, 
    &packet, 
    session_id, 
    hkdf_context, 
    &nonce, 
    associated_data, 
)?;

Build & Test

To validate the internal number-theoretic tests:

To bench the official microsecond/nanosecond speed performance yourself:

Limitations

  • derive_mrs_master_key is deterministic and operates on whatever session_id it is given. If session_id is known to an attacker (the common case), mk provides no security margin. All confidentiality relies entirely on Kyber1024's k1.
  • For the MRS step to contribute independent entropy, session_id would need to be a secret shared via a channel independent of this library, which introduces its own key-distribution problem.
  • This library has not undergone external cryptographic review.
  • The primary demonstrated contribution of MRS(19,9) is speed: a constant-time O(1) derivation path, not an additional security guarantee, when used with public session identifiers.

Dependencies

  • pqcrypto-kyber - Kyber1024 post-quantum KEM
  • aes-gcm - AES-256-GCM AEAD encryption
  • sha2 - SHA-256 for MRS master key derivation

License

Apache-2.0

Author

Bilal El Issaoui