Cabal-syntax-3.12.1.0: A library for working with .cabal files

Safe Haskell | Safe-Inferred
Language | Haskell2010

Distribution.Utils.Base62

Description

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

Synopsis

- hashToBase62 :: String -> String

# 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.