passwords-0.1.0.3: Password generation/validation library

Safe HaskellNone

Crypto.Password

Synopsis

Documentation

generatePassword :: [PasswordFeature] -> IO StringSource

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 -> StringSource

Return description of given char type

passwordFeatureMessage :: PasswordFeature -> StringSource

Return description of given password feature