pub fn prompt_password(prompt: &str) -> Result<Zeroizing<String>>Expand description
Prompt the user for a password.
Returns an empty-password error if the user enters only whitespace. The
returned string is wrapped in Zeroizing so the plaintext is scrubbed
from memory on drop.