HashBrowns 3.0.80

dotnet add package HashBrowns --version 3.0.80
NuGet\Install-Package HashBrowns -Version 3.0.80
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="3.0.80" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HashBrowns --version 3.0.80
#r "nuget: HashBrowns, 3.0.80"
#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 HashBrowns as a Cake Addin
#addin nuget:?package=HashBrowns&version=3.0.80

// Install HashBrowns as a Cake Tool
#tool nuget:?package=HashBrowns&version=3.0.80

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.AddCanisterModules();
				

This is required prior to using the CryptoManager or extension methods class for the first time. Once Canister is set up, you can use the CryptoManager class:

var Instance = Canister.Builder.Bootstrapper.Resolve<CryptoManager>().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 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.

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
3.0.80 32 6/26/2024
3.0.79 57 6/25/2024
3.0.78 68 6/18/2024
3.0.77 64 6/17/2024
3.0.76 61 6/14/2024
3.0.75 63 6/13/2024
3.0.74 60 6/12/2024
3.0.73 68 5/30/2024
3.0.72 67 5/29/2024
3.0.71 66 5/16/2024
3.0.70 69 5/15/2024
3.0.69 92 5/7/2024
3.0.68 88 5/6/2024
3.0.67 45 5/2/2024
3.0.66 70 5/1/2024
3.0.65 89 4/30/2024
3.0.64 68 4/29/2024
3.0.63 91 4/11/2024
3.0.62 81 4/10/2024
3.0.61 92 3/29/2024
3.0.60 80 3/28/2024
3.0.59 101 3/15/2024
3.0.58 93 3/14/2024
3.0.57 75 3/13/2024
3.0.56 87 3/8/2024
3.0.55 85 3/7/2024
3.0.54 70 3/6/2024
3.0.53 95 3/5/2024
3.0.52 98 3/4/2024
3.0.51 99 2/28/2024
3.0.50 88 2/27/2024
3.0.49 95 2/23/2024
3.0.48 89 2/22/2024
3.0.47 92 2/21/2024
3.0.46 87 2/20/2024
3.0.45 79 2/15/2024
3.0.44 92 2/9/2024
3.0.43 90 2/7/2024
3.0.42 87 2/6/2024
3.0.41 78 2/5/2024
3.0.40 79 1/31/2024
3.0.39 77 1/30/2024
3.0.38 83 1/23/2024
3.0.37 80 1/22/2024
3.0.36 106 1/11/2024
3.0.35 142 12/13/2023
3.0.34 107 12/12/2023
3.0.33 125 11/23/2023
3.0.32 106 11/20/2023
3.0.31 116 11/17/2023
3.0.30 105 11/16/2023
3.0.29 107 11/7/2023
3.0.28 97 11/6/2023
3.0.27 111 10/31/2023
3.0.26 101 10/30/2023
3.0.25 109 10/25/2023
3.0.24 123 10/11/2023
3.0.23 116 9/25/2023
3.0.22 108 9/19/2023
3.0.21 110 9/18/2023
3.0.20 129 9/13/2023
3.0.19 121 9/12/2023
3.0.18 120 9/11/2023
3.0.17 98 9/6/2023
3.0.16 117 9/5/2023
3.0.15 131 9/4/2023
3.0.14 124 9/1/2023
3.0.13 125 8/31/2023
3.0.12 137 8/30/2023
3.0.11 131 8/29/2023
3.0.10 153 8/28/2023
3.0.9 156 8/22/2023
3.0.8 136 8/17/2023
3.0.7 149 8/9/2023
3.0.6 145 8/8/2023
3.0.5 135 8/7/2023
3.0.4 142 7/25/2023
3.0.3 137 7/14/2023
3.0.2 159 7/13/2023
3.0.1 160 7/12/2023
3.0.0 286 12/12/2022
2.0.7 429 6/6/2022
2.0.5 444 1/11/2022
2.0.3 413 1/7/2021
2.0.2 561 9/13/2020
2.0.1 476 3/25/2020
2.0.0 507 12/23/2019
1.0.3 755 11/8/2018
1.0.2 680 11/6/2018