Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 1.62 KB

README.md

File metadata and controls

43 lines (39 loc) · 1.62 KB

LSH Recursive Hasher

ISC License GitHub downloads GoDoc Go Report Card GitHub go.mod Go version GitHub release (latest by date)

TTAK.KO-12.0276 LSH Recursive Hasher written in Go:

Usage of lshsum:
lshsum [-c <hash.ext>] [-b N] [-r] <file.ext>
  -b int
        Bits: 224, 256, 384 and 512. (default 256)
  -c string
        Check hashsum file.
  -r    Process directories recursively.

LSH-256 Hash-based Message Autentication Code Utility:

Usage of lshmac:
lshmac [-k <secret>] -f <file.ext>
  -f string
        Target file. ('-' for STDIN)
  -k string
        Secret key.

Examples

Generate hashsum list:

$ ./lshsum [-r] "*.*" > hash.txt

Check hashsum file:

$ ./lshsum -c hash.txt
$ echo $?

License

This project is licensed under the ISC License.

Copyright (c) 2020-2022 Pedro F. Albanese - ALBANESE Research Lab.