Cabal-syntax-3.12.1.0: A library for working with .cabal files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Utils.Base62

Description

Implementation of base-62 encoding, which we use when computing hashes for fully instantiated unit ids.

Synopsis

Documentation

hashToBase62 :: String -> String Source #

Hash a string using GHC's fingerprinting algorithm (a 128-bit MD5 hash) and then encode the resulting hash in base 62.