Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.16 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.16 KB

Intro to fileproof

fileproof generates .svg QR-codes of sha2 checksums for files.

fileproof [filenames]

where [filenames] is any whitespace separated list of file names.

Example

Running the following in the base directory of the project:

fileproof Cargo.lock

gives QR code for the Cargo.lock sha256 sum

Why?

Mostly, I just wanted to practice rust.

I had a usecase where I needed to create evidence that I had a revision of a file without revealing the file itself. The easiest way is to write an email or mail something that includes a checksum of the files in question. As many people in my circle have phones capable of reading QR codes, and I don't want to need to trust someone to transcribe a checksum, combining them seemed appropriate.

Also, a .svg file can be turned nearly transparent and included in the background of html documents, allowing one to include it discretely in an email.

Here is an example. QR code for the Cargo.lock sha256 sum

Future work

Dependencies

  • sha2
  • qrcodegen

Acnowledgements

I used code from

License

Currently licensed under Apache2