1.0.2 • Published 5 months ago

hash-changer v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

hash-changer

npm npm

This tool changes file hash by appending empty buffer after EOF.

Links: Github Repo, NPM.

Install

npm i hash-changer -g

Usages

symant@stardust ~ > hc --help
Usage: index [options]

Options:
  -v, --verbose       log processing details
  -i, --input <file>  input file path
  -b, --byte <int>    appending empty byte length (default: "2")
  -r, --remove        remove empty bytes after EOF
  -V, --version       output the version number
  -h, --help          display help for command

Example to change file hash: hc -i <your file path>

symant@stardust ~ > hc -i pic.jpg -v
Original MD5: 59e65b102d867c282a185e114a1dad5f
Last 20 bytes: <Buffer 77 f1 13 3f 5f c8 ff 00 85 14 b4 50 1e ff 00 f7 7f 13 ff d9>
Appending null buffer: <Buffer 00 00>
Last 20 bytes: <Buffer 13 3f 5f c8 ff 00 85 14 b4 50 1e ff 00 f7 7f 13 ff d9 00 00>
Current  MD5: 659d748a0eaeeb9425e46e5dcd58e7f5

License

ISC

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago