PasswordPolicy NuGet Package

A .NET Standard library which Generates Random Password with using alphabets(Upper&Lower case), numbers, and special characters.


as well as you can configure as per your password policy/requirement, like exclude and include numbers/special/alphabets characters.

Future
1. Random Generate password as per your password policy
2. Bind Password with a define property(also support Generic)
3. Validate new generated password with your db and re-generate password
4.

Validating generated password using IsValid method
5. Define the number of unique character for generating a password
6. Generat OTP.




Got any PasswordPolicy Question?





Info

Version: 2.1.1
Author(s): Nilesh
Last Update: Saturday, July 4, 2026
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/it-nilesh/password-generator
NuGet Url: https://www.nuget.org/packages/PasswordPolicy


Install
Install-Package PasswordPolicy
dotnet add package PasswordPolicy
paket add PasswordPolicy
PasswordPolicy Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

13

days-since-last-release

11