xorsum
This program computes a hash by using an algorithm based on the XOR-cipher. Basically, it splits the file in chunks whose byte-length is the same as the digest size (padding with 0s), and XORs all those chunks together into a new chunk of the same size, the resulting chunk is printed as an array of hexadecimal bytes. I'm still trying to fix the formatting of the output to be a single sequence of hex nibbles without delimiter.
Currently, there's no support for Standard-Input, but it'll be added in the future. More flags and args will also be available later.
Usage
(Note: You need cargo to build this crate)
Clone/download the repo, then build & run from source:
If you already compiled the executable, do:
Output of xorsum Cargo.toml:
⚠ DISCLAIMER ⚠
DO NOT USE FOR CRYPTOGRAPHIC PURPOSES
The algorithm is not crypto-secure. It is intended to be a simple, basic, and fast checksum algorithm