You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This simple tool uses a bank of 96 commonly used lower and upper-case letters, integers, and special characters to randomly generate secure passwords. Password character arrays are randomly chosen from this bank using Matlab's 'randi.m' function, drawing uniformly distributed pseudorandom integers of specified length.
Additional options are included, such as limiting the password bank to only use alphanumeric characters (n = 62, upper & lower case), or disallowing repeated characters. An optional output indicates the number of possible passwords which could be generated using the specified parameters.
Cite As
Elliot Layden (2026). password_gen (https://se.mathworks.com/matlabcentral/fileexchange/61344-password_gen), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.1.0.0 (1.76 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.1.0.0 | rename |
||
| 2.0.0.0 | -allow limiting the password bank to only use alphanumeric characters (n = 62, upper & lower case), or disallow repeated characters
|
||
| 1.0.0.0 |
