HashBrowns 4.0.0

dotnet add package HashBrowns --version 4.0.0
                    
NuGet\Install-Package HashBrowns -Version 4.0.0
                    
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.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HashBrowns" Version="4.0.0" />
                    
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.0
                    
#r "nuget: HashBrowns, 4.0.0"
                    
#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.
#addin nuget:?package=HashBrowns&version=4.0.0
                    
Install HashBrowns as a Cake Addin
#tool nuget:?package=HashBrowns&version=4.0.0
                    
Install HashBrowns 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. 
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.0 109 5 months ago
3.0.100 106 5 months ago
3.0.99 118 5 months ago
3.0.98 95 6 months ago
3.0.97 99 6 months ago
3.0.96 102 6 months ago
3.0.95 93 6 months ago
3.0.94 95 6 months ago
3.0.93 95 6 months ago
3.0.92 102 6 months ago
3.0.91 100 6 months ago
3.0.90 112 8 months ago
3.0.89 122 8 months ago
3.0.88 136 8 months ago
3.0.87 136 8 months ago
3.0.86 137 8 months ago
3.0.85 126 8 months ago
3.0.84 133 8 months ago
3.0.83 74 9 months ago
3.0.82 87 9 months ago
3.0.81 101 9 months ago
3.0.80 117 10 months ago
3.0.79 109 10 months ago
3.0.78 116 6/18/2024
3.0.77 113 6/17/2024
3.0.76 109 6/14/2024
3.0.75 105 6/13/2024
3.0.74 113 6/12/2024
3.0.73 111 5/30/2024
3.0.72 113 5/29/2024
3.0.71 110 5/16/2024
3.0.70 118 5/15/2024
3.0.69 131 5/7/2024
3.0.68 127 5/6/2024
3.0.67 87 5/2/2024
3.0.66 112 5/1/2024
3.0.65 139 4/30/2024
3.0.64 112 4/29/2024
3.0.63 130 4/11/2024
3.0.62 123 4/10/2024
3.0.61 134 3/29/2024
3.0.60 120 3/28/2024
3.0.59 144 3/15/2024
3.0.58 138 3/14/2024
3.0.57 113 3/13/2024
3.0.56 129 3/8/2024
3.0.55 125 3/7/2024
3.0.54 112 3/6/2024
3.0.53 133 3/5/2024
3.0.52 133 3/4/2024
3.0.51 142 2/28/2024
3.0.50 123 2/27/2024
3.0.49 136 2/23/2024
3.0.48 133 2/22/2024
3.0.47 136 2/21/2024
3.0.46 129 2/20/2024
3.0.45 115 2/15/2024
3.0.44 140 2/9/2024
3.0.43 132 2/7/2024
3.0.42 131 2/6/2024
3.0.41 117 2/5/2024
3.0.40 113 1/31/2024
3.0.39 115 1/30/2024
3.0.38 107 1/23/2024
3.0.37 110 1/22/2024
3.0.36 139 1/11/2024
3.0.35 179 12/13/2023
3.0.34 146 12/12/2023
3.0.33 160 11/23/2023
3.0.32 136 11/20/2023
3.0.31 154 11/17/2023
3.0.30 132 11/16/2023
3.0.29 124 11/7/2023
3.0.28 133 11/6/2023
3.0.27 140 10/31/2023
3.0.26 132 10/30/2023
3.0.25 141 10/25/2023
3.0.24 159 10/11/2023
3.0.23 156 9/25/2023
3.0.22 139 9/19/2023
3.0.21 147 9/18/2023
3.0.20 161 9/13/2023
3.0.19 140 9/12/2023
3.0.18 150 9/11/2023
3.0.17 129 9/6/2023
3.0.16 141 9/5/2023
3.0.15 167 9/4/2023
3.0.14 158 9/1/2023
3.0.13 143 8/31/2023
3.0.12 168 8/30/2023
3.0.11 160 8/29/2023
3.0.10 191 8/28/2023
3.0.9 185 8/22/2023
3.0.8 165 8/17/2023
3.0.7 183 8/9/2023
3.0.6 173 8/8/2023
3.0.5 165 8/7/2023
3.0.4 172 7/25/2023
3.0.3 153 7/14/2023
3.0.2 190 7/13/2023
3.0.1 197 7/12/2023
3.0.0 322 12/12/2022
2.0.7 476 6/6/2022
2.0.5 476 1/11/2022
2.0.3 475 1/7/2021
2.0.2 601 9/13/2020
2.0.1 531 3/25/2020
2.0.0 551 12/23/2019
1.0.3 827 11/8/2018
1.0.2 747 11/6/2018