<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: KryptRoom</title>
    <description>The latest articles on DEV Community by KryptRoom (kryptroom).</description>
    <link>https://dev.to/kryptroom</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F16648%2F39c061b5-d957-47a3-b628-7f153084bbec.png</url>
      <title>DEV Community: KryptRoom</title>
      <link>https://dev.to/kryptroom</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kryptroom"/>
    <language>en</language>
    <item>
      <title>What Is Privacy-Preserving Data Collaboration?</title>
      <dc:creator>Elimane Sall</dc:creator>
      <pubDate>Wed, 02 Dec 2026 03:40:47 +0000</pubDate>
      <link>https://dev.to/kryptroom/what-is-privacy-preserving-data-collaboration-773</link>
      <guid>https://dev.to/kryptroom/what-is-privacy-preserving-data-collaboration-773</guid>
      <description>&lt;p&gt;A practical guide to private matching, secure computation, encrypted data and the disclosure decisions that matter.&lt;/p&gt;

&lt;p&gt;Suppose two labs want to know how many people are present in both of their research cohorts. One lab holds clinical observations and the other holds molecular measurements. A shared database could make the count easy to compute. It would also put the underlying records in another environment. Privacy-preserving collaboration starts by deciding what answer is necessary and what each participant is entitled to learn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Select a technique for the answer
&lt;/h2&gt;

&lt;p&gt;Private set intersection can identify overlap or report only its size, depending on the protocol and output mode. Secure multi-party computation lets participants jointly evaluate a function on private inputs within an explicit threat model. Homomorphic encryption lets an evaluator perform supported operations on ciphertext. A zero-knowledge proof can establish a specified statement under its assumptions while keeping its witness private. Each technique addresses a different question. Encrypting stored files protects them at rest and does not, by itself, let participants compute on them privately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design the disclosure policy first
&lt;/h2&gt;

&lt;p&gt;The same aggregate may be appropriate for one audience and too revealing for another. A count of one, repeated comparisons, or changes to a query can leak information when combined with other knowledge. An implementation must specify recipients, outputs, assumptions about participants and hosts, and which metadata remains observable. Cryptographic protections have a defined scope. They do not replace governance, privacy review, or operational controls.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where KryptRoom fits
&lt;/h2&gt;

&lt;p&gt;KryptRoom explores reusable protected state across successive operations. Its experimental core has run bounded cases on synthetic data with documented two-party semi-honest assumptions where applicable. The public showcase illustrates the workflow independently of that runtime and grants no access to real results.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical design checklist
&lt;/h2&gt;

&lt;p&gt;Start with the smallest useful output, identify its recipient, and define the threat model before selecting the cryptographic primitive. Decide how inputs are normalized, how keys and shares are held, and how repeated queries are controlled. A successful lab experiment is not a production privacy guarantee or a compliance certification.&lt;/p&gt;

&lt;p&gt;See the &lt;a href="https://csrc.nist.gov/projects/pec" rel="noopener noreferrer"&gt;NIST Privacy-Enhancing Cryptography project&lt;/a&gt; and &lt;a href="https://kryptroom.com/security/" rel="noopener noreferrer"&gt;KryptRoom’s security limits&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Editorial disclosure: This draft was prepared with AI assistance from the publicly documented KryptRoom experiments. The responsible human author must review and stand behind its accuracy before publication. Examples are illustrative.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cryptography</category>
    </item>
    <item>
      <title>What Zero-Knowledge Proofs Actually Verify</title>
      <dc:creator>Elimane Sall</dc:creator>
      <pubDate>Wed, 02 Dec 2026 03:40:14 +0000</pubDate>
      <link>https://dev.to/kryptroom/what-zero-knowledge-proofs-actually-verify-5982</link>
      <guid>https://dev.to/kryptroom/what-zero-knowledge-proofs-actually-verify-5982</guid>
      <description>&lt;p&gt;Distinguish proof of a specified relation from evidence of execution, authorization, numerical correctness and public-chain inclusion.&lt;/p&gt;

&lt;p&gt;A zero-knowledge proof concerns a defined statement. It is not a general certificate that a system is trustworthy. The verifier must know which relation the proof covers, how the public claim is bound to that relation, and which assumptions support verification.&lt;/p&gt;

&lt;h2&gt;
  
  
  Public statement, private witness
&lt;/h2&gt;

&lt;p&gt;A proof system can let a prover establish that a witness satisfies a specified relation without disclosing the witness beyond what the public statement implies. For a simple conceptual example, the statement might assert knowledge of a value whose digest equals a public digest. That does not say who created the value, whether it represents a true observation, or whether publishing the digest is harmless for a small candidate space.&lt;/p&gt;

&lt;h2&gt;
  
  
  The exact KryptRoom M5 statement
&lt;/h2&gt;

&lt;p&gt;The documented SP1 Groth16 experiment checks committed metadata for one model-evaluation transition. It binds ordered parents S3 and S1, artifact references, policy authorization, cryptographic context, the requested disclosure, transition commitment and child commitment. These checks execute inside the proof guest. The public receipt exposes specific metadata, and the witness contains private metadata rather than raw data or model values.&lt;/p&gt;

&lt;p&gt;The acceptance generated a real CPU Groth16 proof and verified it with a separate verifier. The verification boundary uses trusted verifier and program material. Its success establishes the bounded relation under proof-system assumptions, not every assertion encoded in the surrounding application.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the proof cannot establish
&lt;/h2&gt;

&lt;p&gt;The M5 relation does not prove that SecretFlow executed, that the private join or model computation was numerically correct, that the private MSE is accurate, or that an organization signed the transition. A code hash committed in metadata is not proof of that code having run. The MPC experiments and proof experiment have separate evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  A public anchor answers another question
&lt;/h2&gt;

&lt;p&gt;The M7 experiment records one state-only commitment on Base Sepolia. Inclusion and finality checks can establish that the corresponding commitment was recorded in the observed canonical chain. That does not prove underlying private arithmetic or establish a participant signature. A public commitment can also be linkable, depending on the data and metadata surrounding it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A useful verification checklist
&lt;/h2&gt;

&lt;p&gt;Specify the public inputs, exact relation, trusted program material, security assumptions and any metadata disclosed. Distinguish proof validity, receipt matching, authorization semantics, real computation evidence and chain finality. The KryptRoom public walkthrough illustrates these categories with synthetic data; it does not verify real proofs in the browser.&lt;/p&gt;

&lt;p&gt;Read the &lt;a href="https://csrc.nist.gov/projects/pec/zkproof" rel="noopener noreferrer"&gt;NIST zero-knowledge proof overview&lt;/a&gt;, &lt;a href="https://github.com/e-sall/KryptRoom/blob/dev/docs/STATE_PROOF.md" rel="noopener noreferrer"&gt;M5 proof design&lt;/a&gt;, and &lt;a href="https://github.com/e-sall/KryptRoom/blob/dev/docs/PUBLIC_CHAIN_ANCHOR.md" rel="noopener noreferrer"&gt;M7 anchoring design&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Editorial disclosure: This draft was prepared with AI assistance from the publicly documented KryptRoom experiments. The responsible human author must review and stand behind its accuracy before publication. Examples are illustrative.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cryptography</category>
    </item>
    <item>
      <title>MPC vs. Homomorphic Encryption</title>
      <dc:creator>Elimane Sall</dc:creator>
      <pubDate>Wed, 02 Dec 2026 03:39:28 +0000</pubDate>
      <link>https://dev.to/kryptroom/mpc-vs-homomorphic-encryption-4lo1</link>
      <guid>https://dev.to/kryptroom/mpc-vs-homomorphic-encryption-4lo1</guid>
      <description>&lt;p&gt;Compare two approaches to private computation by data ownership, key custody, communication and the operations they support.&lt;/p&gt;

&lt;p&gt;Secure multi-party computation (MPC) and homomorphic encryption address related but distinct design problems. Choosing between them starts with who holds the inputs, who can participate during computation, and who is allowed to learn the result. The same workload may admit more than one protocol design.&lt;/p&gt;

&lt;h2&gt;
  
  
  MPC: distribute the computation
&lt;/h2&gt;

&lt;p&gt;In an MPC protocol, multiple participants cooperate to evaluate a function with private inputs under specified security assumptions. One approach represents values as secret shares distributed among participants. For an illustrative additive sharing modulo 100, the number 42 can be represented by shares 17 and 25. Neither illustrative share alone fixes the original value if its counterpart is unknown and the first share is sampled uniformly. This example explains the idea, not an implementation of a secure protocol.&lt;/p&gt;

&lt;p&gt;The KryptRoom MPC experiment uses SecretFlow SPU with CHEETAH/FM128 to compare padded identifiers inside a fixed-shape computation. It produces a secret match mask and masked features; only a permitted scalar is reconstructed for the M2 fixture. Public capacity and other metadata remain observable. Both parties participate in the demonstrated protocol.&lt;/p&gt;

&lt;h2&gt;
  
  
  Homomorphic encryption: compute on ciphertext
&lt;/h2&gt;

&lt;p&gt;A homomorphic encryption scheme supports defined operations on encrypted values so that decryption yields the corresponding plaintext result. Fully homomorphic schemes support general computation in principle, subject to encoding, parameters, circuit cost and implementation constraints. An evaluator may operate without holding the private decryption key. The result recipient and key owner must be considered separately from the evaluator.&lt;/p&gt;

&lt;p&gt;KryptRoom M6 is a separate, narrow OpenFHE BGV-RNS experiment. Two synthetic four-integer vectors are encrypted under one public key, then reloaded in a separate evaluator process for a single EvalAdd. The encrypted sum is persisted in a child state. Lab A holds the only private key; this is not threshold FHE and does not demonstrate arbitrary encrypted programs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compare the trust boundaries
&lt;/h2&gt;

&lt;p&gt;For a multi-owner computation, ask whether participants can stay online, whether a key holder may be trusted with plaintext output, and which collusions the protocol resists. MPC and FHE do not have a universal performance ranking: operation mix, network latency, ciphertext sizes, preprocessing, parameters and security models can all change the result. The KryptRoom fixtures are not a comparative benchmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  Persistence does not remove the disclosure problem
&lt;/h2&gt;

&lt;p&gt;Both approaches can preserve protected artifacts across operations in appropriate architectures. A future computation must still validate compatible context and authorized inputs. A permissible result may leak information through its content or repetition. Neither technique automatically supplies identity, consent, production key management or regulatory compliance.&lt;/p&gt;

&lt;p&gt;See the &lt;a href="https://csrc.nist.gov/Projects/pec/pec-tools" rel="noopener noreferrer"&gt;NIST overview of privacy-enhancing cryptography&lt;/a&gt;, &lt;a href="https://csrc.nist.gov/Projects/pec/fhe" rel="noopener noreferrer"&gt;NIST homomorphic encryption notes&lt;/a&gt;, and &lt;a href="https://github.com/e-sall/KryptRoom/blob/dev/docs/FHE_STATE_TRANSITION.md" rel="noopener noreferrer"&gt;KryptRoom FHE design&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Editorial disclosure: This draft was prepared with AI assistance from the publicly documented KryptRoom experiments. The responsible human author must review and stand behind its accuracy before publication. Examples are illustrative.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cryptography</category>
    </item>
    <item>
      <title>Persistent Encrypted State Explained</title>
      <dc:creator>Elimane Sall</dc:creator>
      <pubDate>Wed, 02 Dec 2026 03:38:34 +0000</pubDate>
      <link>https://dev.to/kryptroom/persistent-encrypted-state-explained-j8k</link>
      <guid>https://dev.to/kryptroom/persistent-encrypted-state-explained-j8k</guid>
      <description>&lt;h2&gt;
  
  
  How protected artifacts can survive process restarts and support subsequent private computation, with explicit limits on trust and disclosure.
&lt;/h2&gt;

&lt;p&gt;A private computation often answers a single question. If two parties later need a different statistic over the same matched records, repeating the whole data preparation and matching workflow can be expensive. A reusable protected artifact is an alternative to repeating the join or exporting its plaintext result. KryptRoom explores that design in a bounded two-party experiment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separate the state descriptor from the protected data
&lt;/h2&gt;

&lt;p&gt;A RoomState describes an immutable computational state. It references its parent states, protected artifacts, transition, policy and cryptographic context. Artifact descriptors contain public information such as shapes and types and identify the local encrypted material using digests. The descriptor is not itself the secret dataset. A digest binds content; it does not provide confidentiality or authenticate the organization that created it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What persistence means in the two-party experiment
&lt;/h2&gt;

&lt;p&gt;In the M2 private join, the SecretFlow SPU produces a secret match mask and two masked feature grids. Each KryptNode stores only its own shares of these three values. Native SPU serialization is wrapped in AES-256-GCM using separate local keys. The authenticated envelope binds the participant, room, state, artifact and cryptographic context. The protected artifacts are not a compact plaintext table of matched rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  A restart is a useful test
&lt;/h2&gt;

&lt;p&gt;The M2.5 acceptance separates creation from consumption. In the creation phase, two nodes process local synthetic CSV inputs and persist S1. Both containers are removed. In the second phase, fresh containers receive only the node-local state directories, not the source CSVs. They check the commitment and artifact digests, reload the local shares and perform a narrow continuity computation. Only the authorized aggregate is reconstructed. Later M3 experiments use the same persistence mechanism for scalar analytics.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked lineage example
&lt;/h2&gt;

&lt;p&gt;Imagine that S1 contains a protected join. An eligible analysis can consume S1 and create S2, whose descriptor records S1 as a parent. Another experiment can use S1 as a parent for a different operation. In the documented M4 lineage, training produces S3 and evaluation consumes the ordered pair S3 and S1 to produce S4. This is a graph of immutable descriptors, not a claim that arbitrary branching workflows are production-ready.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the experiment does not establish
&lt;/h2&gt;

&lt;p&gt;The implementation relies on two-party semi-honest computation and trusted hosts. Encryption at rest does not protect a share from a compromised host holding its key. Exclusive creation and integrity checks do not establish distributed crash atomicity, anti-rollback, organizational signatures or production key rotation. Output policy must still account for inference from authorized results. The public showcase does not load or compute on these artifacts.&lt;/p&gt;

&lt;p&gt;Read the &lt;a href="https://github.com/e-sall/KryptRoom/blob/dev/ARCHITECTURE.md" rel="noopener noreferrer"&gt;architecture record&lt;/a&gt;, &lt;a href="https://github.com/e-sall/KryptRoom/blob/dev/docs/PRIVATE_ANALYTICS.md" rel="noopener noreferrer"&gt;private analytics design&lt;/a&gt;, and &lt;a href="https://kryptroom.com/security/" rel="noopener noreferrer"&gt;security boundaries&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Editorial disclosure: This draft was prepared with AI assistance from the publicly documented KryptRoom experiments. The responsible human author must review and stand behind its accuracy before publication. Examples are illustrative.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cryptography</category>
    </item>
    <item>
      <title>How Private Set Intersection Works</title>
      <dc:creator>Elimane Sall</dc:creator>
      <pubDate>Wed, 02 Dec 2026 03:37:39 +0000</pubDate>
      <link>https://dev.to/kryptroom/how-private-set-intersection-works-5g3</link>
      <guid>https://dev.to/kryptroom/how-private-set-intersection-works-5g3</guid>
      <description>&lt;p&gt;Understand what private set intersection reveals, how cardinality-only matching differs, and why output policy matters.&lt;/p&gt;

&lt;p&gt;Two organizations may need to learn whether their sets overlap without sending their full lists to one another. A manufacturer might hold supplier identifiers and a logistics partner might hold provider identifiers. A private set intersection protocol compares inputs while constraining what is revealed under a stated security model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose between identities and a count
&lt;/h2&gt;

&lt;p&gt;Imagine one set contains three sample identifiers and the other contains four. Exactly two appear in both. An intersection output can disclose those two identifiers to the designated recipient. A cardinality-only output discloses the number two to that recipient, without returning the matching identifiers. The permitted output still reveals information. In a tiny set, a count can be sufficient to infer membership. Repeated queries, input choice and observables such as set size can also matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why normalization matters
&lt;/h2&gt;

&lt;p&gt;Matching usually assumes both parties agree on what constitutes an equal item. Different casing, punctuation or identifier systems can change the result before any cryptographic comparison takes place. Deduplication and normalization should be defined in advance. The security assumptions and algorithm mode need to match the deployment and its output policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bounded KryptRoom experiment
&lt;/h2&gt;

&lt;p&gt;KryptRoom exercised exact ECDH cardinality-only matching using OpenMined PSI v2.0.6 on a synthetic fixture. That evidence covers a specific mode and does not certify arbitrary datasets, malicious participants or deployment readiness. A subsequent private join or analysis is a separate operation with its own inputs, output policy and trust assumptions. The walkthrough shows sample values and does not run PSI in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small worked example
&lt;/h2&gt;

&lt;p&gt;Let A = {S01, S02, S03} and B = {S02, S03, S04, S05}. A cardinality-only result is 2. The recipient learns the overlap count but not the protocol-returned identities. If that recipient already knows enough about the other input, the count may still reveal membership. These identifiers are fictional; this example is not a live execution.&lt;/p&gt;

&lt;p&gt;Read the &lt;a href="https://csrc.nist.gov/Projects/pec/psi" rel="noopener noreferrer"&gt;NIST PSI overview&lt;/a&gt;, the &lt;a href="https://github.com/OpenMined/PSI" rel="noopener noreferrer"&gt;OpenMined PSI implementation&lt;/a&gt;, and the &lt;a href="https://kryptroom.com/developers/" rel="noopener noreferrer"&gt;KryptRoom implementation evidence&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Editorial disclosure: This draft was prepared with AI assistance from the publicly documented KryptRoom experiments. The responsible human author must review and stand behind its accuracy before publication. Examples are illustrative.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cryptography</category>
    </item>
  </channel>
</rss>
