Rudxain / xorsum

Get XOR checksum with this command-line tool
https://crates.io/crates/xorsum
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Support custom IV #3

Closed Rudxain closed 2 years ago

Rudxain commented 2 years ago

Currently, the default Initialization Vector is 0, but users should be capable of changing it

Rudxain commented 2 years ago

If the raw IV is in a file, and the var size is the byte-length of IV, users can just do

cat foobar >> IV.
xorsum IV -l "$size"

To hash foobar with the desired IV.

I want to keep this program simple, so I won't include this feature