blowdart - idunno.Password.Generator 1.0.2-prelease.g97108be23b

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

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

Copy to clipboard

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

Copy to clipboard

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

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

nuget idunno.Password.Generator  ~> 1.0.2-prelease.g97108be23b
Copy to clipboard

> choco install idunno.Password.Generator --version 1.0.2-prelease.g97108be23b --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.2-prelease.g97108be23b" -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/6/2025 3:57:05 PM

Verifying author primary signature's timestamp with timestamping service certificate: 
  Subject Name: CN=Microsoft Public RSA Time Stamping Authority, OU=nShield TSS ESN:7800-05E0-D947, OU=Microsoft America Operations, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  SHA1 hash: FD2F31399C42510141364ACDF168A28F5C79CBC3
  SHA256 hash: F53C9F64B5056E4C65886CA2CEE1FD5550E954536F404421290D99854C78DB52
  Issued by: CN=Microsoft Public RSA Timestamping CA 2020, O=Microsoft Corporation, C=US
  Valid from: 10/23/2025 8:46:53 PM to 10/22/2026 8:46:53 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: DF2C3BCFB4CCD82C6449A1D09A8E09C289C8F22C
  SHA256 hash: F38AA848A2186281784BB3CB0551EE32FE81FBE7D14490E6E866440473E821B7
  Issued by: CN=Microsoft ID Verified CS EOC CA 02, O=Microsoft Corporation, C=US
  Valid from: 12/6/2025 12:32:34 PM to 12/9/2025 12:32:34 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
3 downloads for version 1.0.2-prelease.g97108be23b
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