Function luks2::password::read [−][src]
pub fn read() -> Result<SecretString, LuksError>
Expand description
Reads a password from stdin, replacing every typed character with a ‘*’ and returning on Enter.
Supports deleting already entered characters via backspace. Does not prompt for input.