Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ categories = [
"cryptography",
"filesystem",
]
default-run = "hh"
default-run = "hashhunter"

[dependencies]
blake2 = "0.10"
Expand All @@ -38,5 +38,5 @@ tempfile = "3.10"
pedantic = "deny"

[[bin]]
name = "hh"
name = "hashhunter"
path = "src/main.rs"
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ cargo install hash-hunter
Search a directory for a SHA-256 hash (default):

```bash
hash-hunter --dir ./data --hash <hex-hash>
hashhunter --dir ./data --hash <hex-hash>
```

Provide a file name to shortcut hashing when possible:

```bash
hash-hunter --dir ./data --hash <hex-hash> --name report.pdf
hashhunter --dir ./data --hash <hex-hash> --name report.pdf
```

Use a different algorithm:

```bash
hash-hunter --dir ./data --algo sha3-256 --hash <hex-hash>
hashhunter --dir ./data --algo sha3-256 --hash <hex-hash>
```

Batch mode (one target per line):
Expand All @@ -55,13 +55,13 @@ Batch mode (one target per line):
```

```bash
hash-hunter --dir ./data --algo sha256 --batch batch.txt
hashhunter --dir ./data --algo sha256 --batch batch.txt
```

Write results to a text file:

```bash
hash-hunter --dir ./data --hash <hex-hash> --output results.txt
hashhunter --dir ./data --hash <hex-hash> --output results.txt
```

## Output
Expand Down