Skip to main content

read_password

Function read_password 

Source
pub fn read_password(prompt: &str) -> String
Expand description

Read a password without echoing it.

viceroy: the old read_visible_password printed the passphrase in clear text and left it in scrollback and terminal history. Hiding is now the default rather than something --hide opts into.