Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 940 Bytes

File metadata and controls

33 lines (27 loc) · 940 Bytes

Password Generator

A C# .Net 9.0 Password Generation and Hashing Utility Library

Usage

  • Generation of Safe Passwords
  • Hashing of Passwords using Argon2
  • Utitlies for Classifying Passwords and detecting common used passwords

How to use

using BenScr.Security;
Password pwd = new Password();
pwd.SetIncludeFlags(IncludeFlags.Digits | IncludeFlags.Uppercase);
pwd.SetLength(32);
string password = pwd.Next();

PasswordHasher hasher = new PasswordHasher();
string hash = hasher.ToHash(password);

Example Output

Generated Password "5P526N2FSQDX9Q1P0J5YJ3BLOKAV1Q2R"
Ultra Safe

External Libraries

Example Project

An example Project using this PasswordGenerator is PasswordGeneratorWPF