passwords-0.1.0.4: Password generation/validation library

Safe HaskellNone
LanguageHaskell2010

Crypto.Password

Synopsis

Documentation

generatePassword :: [PasswordFeature] -> IO String Source

Generate password based on given password features

validatePassword :: [PasswordFeature] -> String -> Either PasswordFeature () Source

Validate password based on features. Returns either first password feature that password does not conform to or void.

formatCharType :: CharType -> String Source

Return description of given char type

passwordFeatureMessage :: PasswordFeature -> String Source

Return description of given password feature