blot-0.1.2 is not a library.
Blot
Blot is a command-line interface (CLI) to compute hashes similar to tools
like shasum
but using a variation of Ben Laurie's
objecthash combined with
Multihash.
Licensed under MIT (See LICENSE).
Features
Objecthash:
- Tagged types: bool, dict, float, integer, list, null, raw, set, unicode.
- Redacted values with
**REDACTED**
. - Common JSON (only when compiled with the
common_json
feature flag).
Multihash:
- Hashing algorithms:
- sha1
- sha2
- sha3
- blake2
- Maximum length (blake2b-512, blake2s-256)
- Partial length.
Custom:
- Redacted values with
0x77
. - Timestamp tagged type. Note that detection is very rough and it will not guarantee a valid time.
Usage
Compact output:
$ blot -a sha2-256 '["foo", "bar"]'
Verbose output:
$ blot -a blake2b-512 --verbose '"foo"'
Sequences as sets instead of lists:
blot --sequence=set -a sha3-256 '["7716209dec0a5fc4b58a6d2a89c248c8ac845fc2a42ec440ec72f5f1554d3b9507689d", "bar"]'`
1620e689a806ca38fb367f300a83022aa9f1c1ad74fd6f50038f3cb5d253e7cb17c6