passwordUI

Dialog for querying and creating passwords.

You are now following this Submission

This function displays a dialog box for a user to type in a password, obfuscated by an asterisk (*). In 'create' mode, it makes the user retype the password. You can enforce the minimum number of characters and the type of password (Alphabets Only, Numbers Only, Alphabets and Numbers, or Alphabets/Numbers/Special Characters).
pw = passwordUI()
pw = passwordUI('Create', 'AlphaNum')
pw = passwordUI('Create', 'AlphaOnly', 8)

Cite As

Jiro Doke (2026). passwordUI (https://nl.mathworks.com/matlabcentral/fileexchange/29616-passwordui), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: passcode

Inspired: Library Management

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0