fn create_password(prompt: &str) -> Result<String>
Loops until the user provides two matching passwords.
This code makes blocking syscalls