Skip to content

Neotoxic-off/AuthV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1adba38 Β· Oct 10, 2024

History

13 Commits
Oct 8, 2024
Oct 8, 2024
Oct 8, 2024
Oct 8, 2024
Oct 8, 2024
Oct 10, 2024

Repository files navigation

AuthV

πŸ” Authenticity files validator

About

AuthV scans and generate a hash table of all the files contained in the folder. The goal is to prevent files manipulations by thirdparty while sharing content.

Build debug

cd authv
cargo build

Run debug

./target/debug/authv <directory>

Build release

cd authv
cargo build --release

Run release

Linux

./authv <directory>

Windows

./authv.exe <directory>

Example

$> ./target/debug/authv ../test/
[2024-10-08T13:37:13Z INFO  authv] Directory set to: ../test/
[2024-10-08T13:37:13Z INFO  authv] Element in directory: 4
[2024-10-08T13:37:13Z WARN  authv] Hashing the files
[2024-10-08T13:37:13Z INFO  authv] Saved hash table at: table.avht

$> ./target/debug/authv ../test/
[2024-10-08T13:38:06Z INFO  authv] Directory set to: ../test/
[2024-10-08T13:38:06Z INFO  authv] Element in directory: 4
[2024-10-08T13:38:06Z WARN  authv] Hashing the files
[2024-10-08T13:38:06Z INFO  authv] ../test/2/sub 1/item_2_2 is intact
[2024-10-08T13:38:06Z INFO  authv] ../test/2/item_1 is intact
[2024-10-08T13:38:06Z INFO  authv] ../test/2/item_2 is intact
[2024-10-08T13:38:06Z INFO  authv] ../test/2/sub 1/item_1_1 is intact