password_gen

A simple tool to generate highly secure passwords

You are now following this Submission

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

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
-optional output indicates the number of possible passwords for specified parameters

1.0.0.0