All MicroEvals
Act as a Principal Cryptographer and Distribute Systems Arch...
Create MicroEval

Act as a Principal Cryptographer and Distribute Systems Arch...

Prompt

Act as a Principal Cryptographer and Distribute Systems Architect. Design a production-grade, highly optimized system that bridges a post-quantum cryptographic protocol (using a simplified module learning-with-errors matrix calculation) with a classical zero-knowledge proof verification pipeline. ### Core Architectural Requirements: 1. Pure Math Engine: Implement the Matrix Learning-With-Errors (M-LWE) key-generation and noise-addition algorithm from scratch in native Python. You are strictly forbidden from using numpy, scipy, or external math libraries. You must handle high-dimensional matrix dot products and modular arithmetic (mod q) using native loops or list comprehensions. 2. Cross-Language Architectural Synthesis: Write a structural blueprint (with detailed memory alignment specifications) for a Rust-based WebAssembly (WASM) host that will ingest this Python data stream. Provide the raw, compile-ready Rust FFI (Foreign Function Interface) or memory-mapping data structures that ensure safe pointer passing without runtime overhead. 3. Strict Telemetry & Zero-Filler Formatting: Output the finalized logic, code blocks, and architectural schemas immediately. You must output a structured metadata header in YAML before the code, specifying estimated time complexities (O(n) notation) for your custom matrix functions. Do not include introductory text ("Here is your script..."), conversational fluff, or placeholders. ### Adversarial Stress Context (For Your Evaluation): - Multi-Paradigm Rigour: I am measuring your capability to jump between abstract cryptographic math (Python) and strict memory-safety/systems-level engineering (Rust) within a single context window. - Completion Integrity: The script and blueprints must be entirely complete, fully spelled out, and syntactically flawless. No truncation or `# TODO` statements allowed.

Drag to resize

Response not available

Drag to resize

Response not available

Drag to resize

Response not available

Drag to resize
Drag to resize