nix_
compat
0.1.0
Module nixhash
Module Items
Modules
Enums
Functions
In crate nix_
compat
nix_compat
Module
nixhash
Copy item path
Source
Modules
ยง
algos
๐
ca_hash
๐
serde
Enums
ยง
CAHash
A Nix CAHash describes a content-addressed hash of a path.
CAHash
Mode
Representation for the supported hash modes.
Error
Errors related to NixHash construction.
Hash
Algo
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.