blowdart - idunno.Password.Generator 1.0.1-prelease.g8eec1aec62

A password generator library which implements generation of random passwords with provided requirements.

PM> Install-Package idunno.Password.Generator -Version 1.0.1-prelease.g8eec1aec62 -Source https://www.myget.org/F/blowdart/api/v3/index.json

Copy to clipboard

> nuget.exe install idunno.Password.Generator -Version 1.0.1-prelease.g8eec1aec62 -Source https://www.myget.org/F/blowdart/api/v3/index.json

Copy to clipboard

> dotnet add package idunno.Password.Generator --version 1.0.1-prelease.g8eec1aec62 --source https://www.myget.org/F/blowdart/api/v3/index.json

Copy to clipboard
<PackageReference Include="idunno.Password.Generator" Version="1.0.1-prelease.g8eec1aec62" />
Copy to clipboard
source https://www.myget.org/F/blowdart/api/v3/index.json

nuget idunno.Password.Generator  ~> 1.0.1-prelease.g8eec1aec62
Copy to clipboard

> choco install idunno.Password.Generator --version 1.0.1-prelease.g8eec1aec62 --source https://www.myget.org/F/blowdart/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "blowdart" -SourceLocation "https://www.myget.org/F/blowdart/api/v2"
Install-Module -Name "idunno.Password.Generator" -RequiredVersion "1.0.1-prelease.g8eec1aec62" -Repository "blowdart" -AllowPreRelease
Copy to clipboard

C# Password Generator

CI Build CodeQL NuGet Version License

This library is a password generator which implements generation of random passwords with provided requirements as described by AgileBits 1Password in C#. The algorithm is commonly used when generating website passwords.

Randomness is provided by the RandomNumberGenerator class, which is a cryptographic random number generator.

This was inspired by a tweet asking how to generate safe passwords in .NET and a Google search which ended up finding Seth Vargo's Golang Password Generator.

Usage

using idunno.Password;

// Generate a password that is 64 characters long with 10 digits, 10 symbols,
// allowing upper and lower case letters, disallowing repeat characters.
var passwordGenerator = new PasswordGenerator();
var generatedPassword = passwordGenerator.Generate(64, 10, 10, false, false);

nuget packages

A nuget package is available at https://www.nuget.org/packages/idunno.Password.Generator.

License

This code is licensed under the Apache license.

  • .NETStandard 2.1
  • .NETStandard 2.1: 2.1.0.0

Signature validation information

Informational

Signature Hash Algorithm: SHA256

Timestamp: 12/7/2025 2:40:36 PM

Verifying author primary signature's timestamp with timestamping service certificate: 
  Subject Name: CN=Microsoft Public RSA Time Stamping Authority, OU=nShield TSS ESN:7A00-05E0-D947, OU=Microsoft America Operations, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  SHA1 hash: 9D64791BDBA7AB705D8EEB6BC275951F512BC45C
  SHA256 hash: C52254BBB207D0FB0028D5C59B5B3F9637AF5505DB39F216EB6A7F75F5A2E871
  Issued by: CN=Microsoft Public RSA Timestamping CA 2020, O=Microsoft Corporation, C=US
  Valid from: 10/23/2025 8:46:55 PM to 10/22/2026 8:46:55 PM

Signature type: Author

Verifying the author primary signature with certificate: 
  Subject Name: CN=Barry Dorrans, O=Barry Dorrans, L=Bothell, S=Washington, C=US
  SHA1 hash: 217D6F2848E28175F924C9C5A34209F9CCAE851E
  SHA256 hash: 78644D15D9AAE9E4AB3FD628765AD2C59B7E54F5021DDFD9140BFE966E150623
  Issued by: CN=Microsoft ID Verified CS AOC CA 02, O=Microsoft Corporation, C=US
  Valid from: 12/7/2025 12:26:50 PM to 12/10/2025 12:26:50 PM

Owners

Barry Dorrans

Authors

blowdart

Project URL

https://github.com/blowdart/idunno.PasswordGenerator

License

Unknown

Tags

security passwords password

Signature

Validation: Valid

Info

5 total downloads
2 downloads for version 1.0.1-prelease.g8eec1aec62
Download (42.21 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.2-prelease.g97108be23b 42.21 KB Sat, 06 Dec 2025 15:57:52 GMT 3
1.0.1-prelease.g8eec1aec62 42.21 KB Sun, 07 Dec 2025 14:41:46 GMT 2