mirror of
https://github.com/tlsnotary/docs-mdbook.git
synced 2026-01-09 12:47:57 -05:00
396a2c027d298fb08b93f81135f76433257c3726
The original text said: "When you open `simple_proof.json` in an editor, you will see a JSON file with lots of non-human-readable byte arrays. You can decode this file by running:" This confused me when I was trying to learn how to use TLSN, because it sounds like the proof does not contain the plain text, but that it rather has some kind of byte-oriented data "decoded", which sounded to me like it did not contain any direct equivalent to the plaintext—I thought that it must be in encrypted form in the proof. But but the proof does include the plaintext, it's just that it's in byte array form, which is being verified and formatted by the verifier.
TLSNotary mdBook Documentation
Build
Install mdbook and mdbook-katex
cargo install mdbook --version 0.4.40
cargo install mdbook-katex --version 0.9.0
cargo install mdbook-linkcheck
Then build and serve
mdbook serve
Diagrams
All diagrams are made with draw.io. The diagram source files are stored in the diagrams folder.
The diagram sources can be converted to png with the convert_all.sh script in the diagrams folder.
Description