HashBrowns 4.0.3

dotnet add package HashBrowns --version 4.0.3
                    
NuGet\Install-Package HashBrowns -Version 4.0.3
                    
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="HashBrowns" Version="4.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HashBrowns" Version="4.0.3" />
                    
Directory.Packages.props
<PackageReference Include="HashBrowns" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HashBrowns --version 4.0.3
                    
#r "nuget: HashBrowns, 4.0.3"
                    
#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.
#:package HashBrowns@4.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HashBrowns&version=4.0.3
                    
Install as a Cake Addin
#tool nuget:?package=HashBrowns&version=4.0.3
                    
Install as a Cake Tool

HashBrowns

.NET Publish

HashBrowns is a library to help simplify encryption within .Net.

Basic Usage

To use the library you first need to set up things on the ServiceCollection. Thankfully this only takes one call to do:

serviceCollection.RegisterHashBrowns();
				

This is required prior to using the CryptoManager or extension methods class for the first time. Once it is set up, you can use the CryptoManager class after getting an instance from the IoC container:

var Instance = cryptoManagerInstance.Encrypt(...);

However instead of having the IoC container create the class, you can also use the extension methods found in the HashBrowns namespace:

var EncryptedData = "My string that I want to encrypt".Encrypt(Key, Salt, HashingAlgorithm, NumberIterations, InitialVector, KeySize, EncryptionAlgorithm);

Similarly you can decrypt:

var DecryptedData = EncryptedData.Decrypt(Key, Salt, HashingAlgorithm, NumberIterations, InitialVector, KeySize, EncryptionAlgorithm);

Also hashing is available:

var MyHashedValue = "Example data".Hash(HashingAlgorithm);

Installation

The library is available via Nuget with the package name "HashBrowns". To install it run the following command in the Package Manager Console:

Install-Package HashBrowns

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.3 127 8/19/2025
4.0.2 211 8/6/2025
4.0.1 148 6/27/2025
4.0.0 162 11/24/2024
3.0.100 145 11/12/2024
3.0.99 150 11/11/2024
3.0.98 130 11/5/2024
3.0.97 129 11/4/2024
3.0.96 132 10/30/2024
3.0.95 133 10/29/2024
3.0.94 126 10/29/2024
3.0.93 127 10/15/2024
3.0.92 133 10/10/2024
3.0.91 134 10/9/2024
3.0.90 143 8/29/2024
3.0.89 168 8/26/2024
3.0.88 170 8/23/2024
3.0.87 174 8/22/2024
3.0.86 180 8/21/2024
3.0.85 157 8/19/2024
3.0.84 169 8/14/2024
3.0.83 103 8/2/2024
3.0.82 119 7/25/2024
3.0.81 134 7/10/2024
3.0.80 147 6/26/2024
3.0.79 138 6/25/2024
3.0.78 147 6/18/2024
3.0.77 147 6/17/2024
3.0.76 148 6/14/2024
3.0.75 137 6/13/2024
3.0.74 147 6/12/2024
3.0.73 143 5/30/2024
3.0.72 145 5/29/2024
3.0.71 142 5/16/2024
3.0.70 147 5/15/2024
3.0.69 167 5/7/2024
3.0.68 157 5/6/2024
3.0.67 120 5/2/2024
3.0.66 142 5/1/2024
3.0.65 174 4/30/2024
3.0.64 152 4/29/2024
3.0.63 158 4/11/2024
3.0.62 156 4/10/2024
3.0.61 167 3/29/2024
3.0.60 161 3/28/2024
3.0.59 178 3/15/2024
3.0.58 172 3/14/2024
3.0.57 145 3/13/2024
3.0.56 175 3/8/2024
3.0.55 162 3/7/2024
3.0.54 143 3/6/2024
3.0.53 168 3/5/2024
3.0.52 168 3/4/2024
3.0.51 179 2/28/2024
3.0.50 157 2/27/2024
3.0.49 164 2/23/2024
3.0.48 170 2/22/2024
3.0.47 170 2/21/2024
3.0.46 159 2/20/2024
3.0.45 153 2/15/2024
3.0.44 170 2/9/2024
3.0.43 171 2/7/2024
3.0.42 165 2/6/2024
3.0.41 153 2/5/2024
3.0.40 142 1/31/2024
3.0.39 154 1/30/2024
3.0.38 141 1/23/2024
3.0.37 147 1/22/2024
3.0.36 170 1/11/2024
3.0.35 213 12/13/2023
3.0.34 180 12/12/2023
3.0.33 186 11/23/2023
3.0.32 153 11/20/2023
3.0.31 179 11/17/2023
3.0.30 145 11/16/2023
3.0.29 150 11/7/2023
3.0.28 147 11/6/2023
3.0.27 159 10/31/2023
3.0.26 147 10/30/2023
3.0.25 162 10/25/2023
3.0.24 188 10/11/2023
3.0.23 180 9/25/2023
3.0.22 168 9/19/2023
3.0.21 181 9/18/2023
3.0.20 187 9/13/2023
3.0.19 168 9/12/2023
3.0.18 185 9/11/2023
3.0.17 164 9/6/2023
3.0.16 180 9/5/2023
3.0.15 208 9/4/2023
3.0.14 195 9/1/2023
3.0.13 181 8/31/2023
3.0.12 208 8/30/2023
3.0.11 195 8/29/2023
3.0.10 235 8/28/2023
3.0.9 223 8/22/2023
3.0.8 202 8/17/2023
3.0.7 228 8/9/2023
3.0.6 218 8/8/2023
3.0.5 204 8/7/2023
3.0.4 213 7/25/2023
3.0.3 196 7/14/2023
3.0.2 233 7/13/2023
3.0.1 243 7/12/2023
3.0.0 365 12/12/2022
2.0.7 526 6/6/2022
2.0.5 535 1/11/2022
2.0.3 538 1/7/2021
2.0.2 674 9/13/2020
2.0.1 607 3/25/2020
2.0.0 627 12/23/2019
1.0.3 908 11/8/2018
1.0.2 828 11/6/2018