Methods and systems for cryptographically secured decentralized testing
A method of cryptographically secured decentralized testing, includes receiving, by a computing device and from a secure test apparatus, an output of a cryptographic function of a secret test result identifier, authenticating the output, and recording, in a data repository, an indication of a test result as a function of the output.
1. A method of cryptographically secured medical testing, the method comprising:
receiving, by a computing device and from a secure test apparatus, the secure test apparatus including a test identifier that is visible prior to testing, an output of a cryptographic function of a secret test result identifier, wherein the cryptographic function further comprises a privacy-preserving protocol including:
publishing, by the computing device, a commitment to a plurality of secret test result identifiers;
receiving, by the computing device, a one-out-of-many cryptographic proof of knowledge of an included secret test identifier of the plurality of secret test identifiers;
storing, by the computing device, a plurality of secret test results;
receiving, by the computing device, an oblivious transfer request including the test identifier; and
transmitting, by the computing device an included secret test result of the plurality of secret test results using an oblivious transfer protocol;
authenticating the cryptographic function; and
recording, in a data repository, a test result as a function of the cryptographic function.
2. The method of claim 1 , wherein the output includes a cryptographic hash of the secret test result identifier.
3. The method of claim 1 , wherein the output includes a secure proof of the secret test result identifier.
4. The method of claim 1 further comprising generating a commitment to the secret test result, and wherein the cryptographic function includes a proof of the commitment.
5. The method of claim 4 , wherein the commitment further comprises a cryptographic accumulator, and the proof of the commitment further comprises a proof of membership in the cryptographic accumulator.
6. The method of claim 1 , wherein the data repository further comprises an immutable sequential listing.
7. A system for cryptographically secured medical testing, the system comprising a computing device configured to:
receive, from a secure test apparatus, the secure test apparatus including a test identifier that is visible prior to testing, an output of a cryptographic function of a secret test result identifier, wherein the cryptographic function further comprises a privacy-preserving protocol including:
publishing, by the computing device, a commitment to a plurality of secret test result identifiers;
receiving, by the computing device, a one-out-of-many cryptographic proof of knowledge of an included secret test identifier of the plurality of secret test identifiers;
storing, by the computing device, a plurality of secret test results;
receiving, by the computing device, an oblivious transfer request including the test identifier; and
transmitting, by the computing device an included secret test result of the plurality of secret test results using an oblivious transfer protocol;
authenticate the cryptographic function; and
record, in a data repository, a test result as a function of the cryptographic function.
8. The system of claim 7 , wherein the output includes a cryptographic hash of the secret test result identifier.
9. The system of claim 7 , wherein the output includes a secure proof of the secret test result identifier.
10. The system of claim 7 wherein the computing device is further configured to generate a commitment to the secret test result, and wherein the cryptographic function includes a proof of the commitment.
11. The system of claim 10 , wherein the commitment further comprises a cryptographic accumulator, and the proof of the commitment further comprises a proof of membership in the cryptographic accumulator.
12. The system of claim 7 , wherein the data repository further comprises an immutable sequential listing.