AGENT SKILL

crypto-advanced-constructions-blockchain-and-policy

Use for the frontier and the context around it: advanced constructions including zero-knowledge proofs, multiparty computation, homomorphic encryption and threshold schemes with honest notes on their maturity, the cryptography specific to blockchains, and the law and policy layer of export control, lawful access debates and compliance obligations.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 5
Forks
3

01 前言 Front Matter

name
crypto-advanced-constructions-blockchain-and-policy
description
Use for the frontier and the context around it: advanced constructions including zero-knowledge proofs, multiparty computation, homomorphic encryption and threshold schemes with honest notes on their maturity, the cryptography specific to blockchains, and the law and policy layer of export control, lawful access debates and compliance obligations.

03 SKILL.md 正文

Cryptography: Advanced Constructions, Blockchain Cryptography, and Law and Policy

Part 5 of 6 of the Cryptography and Encryption reference (plugin cryptography-and-encryption), covering §20–§22. Sibling skills: crypto-what-it-solves-threat-models-randomness-hashes-and-macs (§0–§5), crypto-symmetric-aead-public-key-and-signatures (§6–§10), crypto-passwords-tls-pki-messaging-and-disk-encryption (§11–§16), crypto-implementation-failures-key-management-and-agility (§17–§19), crypto-reference (§23–§28). Section numbers are shared across the set; a reference written as §N → skill points into that sibling skill.

Currency: The primitives are stable. Two migrations are actively underway. See §23 → crypto-reference for post-quantum cryptography, and TLS certificate lifetimes.

⚠️ Cryptography is the part of security that mostly WORKS. The primitives are rarely broken; the systems built from them fail constantly (§17 → crypto-implementation-failures-key-management-and-agility). ⚠️ Almost every real-world break is a key management failure, an implementation bug, a protocol composition error, or a human process — not a cryptanalytic result.

⚠️ THE RULE THAT MATTERS MOST: don't build it yourself. ⚠️ Use a vetted, well-maintained library at the highest level of abstraction that solves your problem. This document is for UNDERSTANDING what those libraries do and evaluating designs — not a recipe for implementing primitives.

Complements an electromagnetism reference (the physical layer), and security-focused material on threat modelling and application security.

⚠️ GOTCHA boxes mark the failure modes that have caused real breaches.

The three ideas that organize this document:

  1. ⚠️ ENCRYPTION WITHOUT AUTHENTICATION IS BROKEN (§7 → crypto-symmetric-aead-public-key-and-signatures). Confidentiality alone is almost never what you want, and unauthenticated ciphertext is malleable. Use AEAD.
  2. ⚠️ KEY MANAGEMENT IS THE HARD PART (§18 → crypto-implementation-failures-key-management-and-agility). The algorithm choice is usually easy and usually not where you lose. Where keys live, who can reach them, and how they rotate is where systems actually fail.
  3. ⚠️ AGILITY IS A DESIGN REQUIREMENT (§19 → crypto-implementation-failures-key-management-and-agility, §23 → crypto-reference). Every algorithm eventually weakens. Systems that hardcoded their primitives are the ones in pain right now.

§20. Advanced Constructions

⚠️ Real, deployed, and frequently oversold — worth knowing what each actually gives you. ⚠️ ZERO-KNOWLEDGE PROOFS: ⚠️ prove a statement is true without revealing why. zk-SNARKs (⚠️ succinct, often needing a trusted setup) and zk-STARKs (⚠️ no trusted setup, larger proofs). Genuine uses in privacy and verifiable computation. ⚠️ MULTI-PARTY COMPUTATION: ⚠️ jointly compute a function over private inputs; practical for specific problems (private set intersection, threshold operations) and still expensive for general computation. ⚠️ HOMOMORPHIC ENCRYPTION: ⚠️ compute on ciphertext. ⚠️ Partially homomorphic schemes are practical; FULLY homomorphic encryption is real, improving, and still orders of magnitude slower than plaintext computation. ⚠️ Treat "we use FHE" claims sceptically and ask about the performance envelope. ⚠️ THRESHOLD AND SECRET SHARING: ⚠️ Shamir's scheme splits a secret so that k of n shares reconstruct it — genuinely useful for root key custody. ⚠️ Threshold signatures avoid ever reconstructing the key at all. ⚠️ Differential privacy — ⚠️ not cryptography, but frequently deployed alongside it; it bounds what can be learned about any individual from aggregate release.


§21. Blockchain Cryptography

⚠️ What it actually uses: ⚠️ hash functions for linking and proof-of-work, Merkle trees for efficient inclusion proofs, ECDSA or Schnorr signatures for transaction authorization. ⚠️ The cryptography is standard; the novelty is the consensus mechanism and the incentive design, not the primitives. ⚠️ Merkle trees are independently useful — ⚠️ certificate transparency (§13 → crypto-passwords-tls-pki-messaging-and-disk-encryption), git, and file integrity systems all use them.

⚠️ GOTCHA — "blockchain" is not a cryptographic property. ⚠️ It does not make data true, only tamper-evident once recorded, and it says nothing about whether the input was correct. ⚠️ And "your keys, your coins" means key management (§18 → crypto-implementation-failures-key-management-and-agility) with no recovery path — which has resulted in permanent, irreversible loss at large scale.


§22. Law and Policy

⚠️ Export controls: ⚠️ historically severe (the "crypto wars"), substantially liberalized, and still present in some jurisdictions and for some categories. ⚠️ Lawful access and "exceptional access" is a genuinely contested policy question where I'd rather set out the positions than pick one: ⚠️ the law enforcement argument is that end-to-end encryption creates spaces where lawful warrants cannot reach, with real consequences for serious crime investigation. ⚠️ The technical community's near-consensus counter-argument is that any mechanism permitting third-party access constitutes a deliberate vulnerability that cannot be limited to authorized users, that key escrow at scale creates an extraordinarily valuable target, and that the software is globally available regardless of any one country's rules. ⚠️ Client-side scanning has been proposed as a middle path and criticized on the grounds that it relocates rather than resolves the trust problem. ⚠️ Also relevant: ⚠️ compelled key disclosure laws vary sharply by jurisdiction, data protection regimes increasingly treat encryption as an expected safeguard, and jurisdiction-specific rules can require specific algorithms.

04 同仓库更多 Skills

the-vibey-project
the-vibey-project/vibey

white-paper-writing

Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks "how should I structure this" for a long-form document.

★ 5
the-vibey-project
the-vibey-project/vibey

prose-technical-mechanics

Use when editing or writing prose at a technical/mechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.

★ 5
the-vibey-project
the-vibey-project/vibey

prose-mechanics

Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate/Jamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix "AI-sounding" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.

★ 5
the-vibey-project
the-vibey-project/vibey

narrative-structure

Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or "how should I structure this story/pitch/presentation" request.

★ 5
the-vibey-project
the-vibey-project/vibey

legal-brief-writing

Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic/neurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.

★ 5
the-vibey-project
the-vibey-project/vibey

journal-publishability-criteria

Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs/paper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.

★ 5