Hyprx.Secrets
0.0.0-alpha.3
dotnet add package Hyprx.Secrets --version 0.0.0-alpha.3
NuGet\Install-Package Hyprx.Secrets -Version 0.0.0-alpha.3
<PackageReference Include="Hyprx.Secrets" Version="0.0.0-alpha.3" />
<PackageVersion Include="Hyprx.Secrets" Version="0.0.0-alpha.3" />
<PackageReference Include="Hyprx.Secrets" />
paket add Hyprx.Secrets --version 0.0.0-alpha.3
#r "nuget: Hyprx.Secrets, 0.0.0-alpha.3"
#:package Hyprx.Secrets@0.0.0-alpha.3
#addin nuget:?package=Hyprx.Secrets&version=0.0.0-alpha.3&prerelease
#tool nuget:?package=Hyprx.Secrets&version=0.0.0-alpha.3&prerelease
Hyprx.Secrets
Overview
Generates cryptographically secure passwords/secrets and provides a secret masker.
Usage
using Hyprx.Secrets;
var sg = new SecretGenerator().AddDefaults();
var pw = sg.Generate(16);
var ss = sg.GenerateAsSecretString(16);
var pwb = sg.GenerateAsBytes();
sg = new SecretGenerator().Add(SecretCharacterSets.Digits);
sg.SetValidator(_ => true);
Console.WriteLine(sg.Generate(4)); // new pin
var masker = new SecretMasker();
masker.Add(pw);
Console.WriteLine(masker.Mask($"My password is {pw}")); // My password is *****
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Hyprx.Secrets:
Package | Downloads |
---|---|
Hyprx.Rex.Console
The Hyprx.Rex.Console package enables you to create a cli task runner or a make-like experience in .NET within console projects or using `dotnet run app.cs` (single files). |
|
Hyprx.Rex.Pipelines
Hyprx.Rex.Pipelines provides the core pipelines that execute rex tasks, jobs, and deployments. |
|
Hyprx.DotEnv.Expansion
Expand variables and perform command substitution in dotenv (.env) files. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.0.0-alpha.3 | 119 | 7/10/2025 |
0.0.0-alpha.2 | 114 | 7/10/2025 |
0.0.0-alpha.1 | 120 | 6/25/2025 |
0.0.0-alpha.0 | 127 | 6/17/2025 |
# Hyprx.Secrets Changelog
## 0.0.0-alpha.0
- Add a secret/password generator.
- Add a secret masker for masking passwords in strings.