passwordInput

A password input box.

@safe
alias passwordInput = simpleConstructor!PasswordInput

Examples

// PasswordInput lets you ask the user for passwords
auto node = passwordInput();

// Retrieve the password with `value`
auto userPassword = node.value;

// Destroy the passwords once you're done to secure them against attacks
// (Careful: This will invalidate `userPassword` we got earlier)
node.shred();

Meta