blindpass-0.1.0: Password entry tool
Copyright(C) 2020 Jonathan Lamothe
LicenseGPL-3
Maintainerjonathan@jlamothe.net
Stabilitystable
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

BlindPass

Description

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Synopsis

Documentation

getPassword Source #

Arguments

:: String

The prompt to present to the user

-> IO String

The user's response

Prompts the user for a password without echoing to the screen

checkPasswords Source #

Arguments

:: String

The first password

-> String

The second password

-> IO a

Action to perform if the passwords don't match

-> (String -> IO a)

Action to perform if the passwords match (takes the password as an input)

-> IO a 

Checks the passwords entered by the user

output Source #

Arguments

:: String

The text to be output

-> IO () 

Outputs text to standard error