A small .NET solution for secure password generation. It contains a reusable NuGet library, a command-line application, and automated tests.
AdvancedPassGenerator— reusablenetstandard2.0library and NuGet package.PasswordGeneratorCLI— command-line interface for generating passwords.AdvancedPassGenerator.UnitTests— xUnit tests for the library.
Install the library:
dotnet add package AdvancedPassGeneratorOr run the CLI from the repository root:
dotnet run --project PasswordGeneratorCLI -- 20 --symbols --no-duplicates --no-sequential --begin-with-letterdotnet restore
dotnet build PasswordGenerator.sln --configuration Release
dotnet test PasswordGenerator.sln --configuration Release
dotnet pack AdvancedPassGenerator/AdvancedPassGenerator.csproj --configuration ReleaseThe library uses RandomNumberGenerator, supports custom character sets and generation constraints, and rejects impossible configurations instead of silently violating them. The generated NuGet package includes the library README and icon.
GitHub Actions runs build, test, package, dependency, and security checks. Dependabot monitors NuGet and GitHub Actions dependencies.
MIT