verafile
v1.0.1
Published
Verify files from portable proof artifacts.
Maintainers
Readme
VeraFile
A file is either the same—or it isn’t.
Verify that. Independently.
npx verafile verify file.pdf proof.jsonNo APIs. No systems. No interpretation.
If one byte changes, verification fails.
Try to break it
npx verafile verify example.txt example.proof.jsonNow change the file:
echo change >> example.txt
npx verafile verify example.txt example.proof.jsonIt should fail.
Example
echo data > test.txt
shasum -a 256 test.txtCreate test.proof.json:
{
"hash": "0x<PASTE_HASH>"
}Verify:
npx verafile verify test.txt test.proof.json