Description
Haskell implementation of nix-hash.
Description
Compute the cryptographic hash of a path, à la Nix.
README.md
kesha
A Haskell library for computing the cryptographic hash of any path.
The implementation is an almost verbatim implementation of nix-hash
, which is the standard tool used by the Nix package manager.
module Main where
import qualified Kesha
main :: IO ()
main = do
result <- Kesha.hash "some-path"
print result