elocrypt-2.1.0: Generate easy-to-remember, hard-to-guess passwords
Data.Elocrypt.Utils
numeralConversions :: Map Char [Char] Source #
A mapping from letters to numbers that look like them
symbolConversions :: Map Char [Char] Source #
A mapping from letters to symbols that look like them
toDigit :: Char -> String Source #
Map a letter to one or more digits, if possible
toSymbol :: Char -> String Source #
Map a letter to one or more symbols, if possible
isSymbol :: Char -> Bool Source #
Selects special characters
updateR :: MonadRandom m => (Char -> m Char) -> Rational -> String -> m String Source #
Randomly update characters at the specified probability
update1 Source #
Arguments
Update function
the string to update
the position to update
Update character at position pos