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