PassphraseGenerator 1.0.1
dotnet add package PassphraseGenerator --version 1.0.1
NuGet\Install-Package PassphraseGenerator -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PassphraseGenerator" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PassphraseGenerator --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PassphraseGenerator, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PassphraseGenerator as a Cake Addin #addin nuget:?package=PassphraseGenerator&version=1.0.1 // Install PassphraseGenerator as a Cake Tool #tool nuget:?package=PassphraseGenerator&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Overview
NuGet package that generates passphrase.
Installation
You can install using the following options: Package Manager
Package Manager
Install-Package PassphraseGenerator
.NET CLI
dotnet add package PassphraseGenerator
PackageReference
<PackageReference Include="PassphraseGenerator" Version="1.0.0" />
Paket CLI
paket add PassphraseGenerator
Setup & Basic Usage
Import the package.
public class MyClass {
public void Test(){
var option = new Option { Length = 5 };
var result = PassphraseGenerator.Create(option);
// the result will be a list of strings: e.g. ['acceptable', 'wilderness', 'carsick', 'bypass', 'crossly']
var option = new Option { Length = 5, StartsWith = 'a'' };
var result = PassphraseGenerator.Create(option);
// ['aback', 'abaft', 'abandoned', 'abashed', 'aberrant']
}
}
Additional Info
Options
Property | Desc. |
---|---|
Length | Word(s) that will return as array |
StartsWith (Nullable) | Return words that start with the given letter |
Contribute
Feel free to clone or fork this project: https://github.com/deanilvincent/Passphrase.Generator.git
Contributions & pull requests are welcome!
I'll be glad if you give this project a ★ on Github 😃)
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.