@mikeargento/exam-core
v0.3.0
Published
The sealed exam's core: HMAC-DRBG, seed, paper derivation from BitGraph A's nonce, and the two binds (A: the bank, B: the answers).
Readme
@mikeargento/exam-core
The core of the sealed exam: bind the sitting's request, naming the bank by digest, as BitGraph A through bitgraph.ing's POST /api/commit (the enclave draws a fresh nonce and binds the digest in one atomic action), seed an HMAC-DRBG (SHA-256, SP 800-90A) from A's nonce and the bank digest, draw twenty questions, and, after the model answers, bind the answer sheet as BitGraph B with a Base ceiling. Every proof that comes back is checked with verifyAttested before it is kept. SPEC.md here is the whole derivation, with test vectors, and keeps exam/1 for the archived folders.
Used by @mikeargento/exam-cli. The verifier is @mikeargento/exam-verify (MIT).
