Skip to content

youainti/fileproof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages