password_gen
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 (2024). password_gen (https://www.mathworks.com/matlabcentral/fileexchange/61344-password_gen), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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 |