secure-memory-0.0.0.1: Securely allocated and deallocated memory.
Safe HaskellNone
LanguageHaskell2010

Data.SensitiveBytes.IO.Internal.Password

Description

Internal utilities for reading passwords.

Synopsis

Documentation

readPassword Source #

Arguments

:: Handle

Input file handle.

-> Handle

Output file handle.

-> Text

Prompt.

-> Ptr ()

Target buffer.

-> Int

Target buffer size.

-> IO Int 

Flush stdout, disable echo, and read user input from stdin.