Module nixhash

Source

Modulesยง

algos ๐Ÿ”’
ca_hash ๐Ÿ”’
serde

Enumsยง

CAHash
A Nix CAHash describes a content-addressed hash of a path.
CAHashMode
Representation for the supported hash modes.
Error
Errors related to NixHash construction.
HashAlgo
This are the hash algorithms supported by cppnix.
NixHash
NixHash represents hashes known by Nix (md5/sha1/sha256/sha512).

Functionsยง

decode_digest ๐Ÿ”’
Decode a plain digest depending on the hash algo specified externally. hexlower, nixbase32 and base64 encodings are supported - the encoding is inferred from the input length.