HashBrowns 3.0.98

dotnet add package HashBrowns --version 3.0.98                
NuGet\Install-Package HashBrowns -Version 3.0.98                
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.98" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HashBrowns --version 3.0.98                
#r "nuget: HashBrowns, 3.0.98"                
#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.98

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

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.98 57 11/5/2024
3.0.97 65 11/4/2024
3.0.96 67 10/30/2024
3.0.95 61 10/29/2024
3.0.94 65 10/29/2024
3.0.93 69 10/15/2024
3.0.92 77 10/10/2024
3.0.91 76 10/9/2024
3.0.90 93 8/29/2024
3.0.89 103 8/26/2024
3.0.88 118 8/23/2024
3.0.87 116 8/22/2024
3.0.86 118 8/21/2024
3.0.85 107 8/19/2024
3.0.84 113 8/14/2024
3.0.83 56 8/2/2024
3.0.82 70 7/25/2024
3.0.81 81 7/10/2024
3.0.80 100 6/26/2024
3.0.79 91 6/25/2024
3.0.78 98 6/18/2024
3.0.77 97 6/17/2024
3.0.76 90 6/14/2024
3.0.75 89 6/13/2024
3.0.74 96 6/12/2024
3.0.73 94 5/30/2024
3.0.72 95 5/29/2024
3.0.71 93 5/16/2024
3.0.70 101 5/15/2024
3.0.69 113 5/7/2024
3.0.68 110 5/6/2024
3.0.67 72 5/2/2024
3.0.66 98 5/1/2024
3.0.65 123 4/30/2024
3.0.64 96 4/29/2024
3.0.63 116 4/11/2024
3.0.62 110 4/10/2024
3.0.61 123 3/29/2024
3.0.60 107 3/28/2024
3.0.59 129 3/15/2024
3.0.58 124 3/14/2024
3.0.57 99 3/13/2024
3.0.56 110 3/8/2024
3.0.55 109 3/7/2024
3.0.54 99 3/6/2024
3.0.53 122 3/5/2024
3.0.52 121 3/4/2024
3.0.51 127 2/28/2024
3.0.50 110 2/27/2024
3.0.49 121 2/23/2024
3.0.48 117 2/22/2024
3.0.47 120 2/21/2024
3.0.46 114 2/20/2024
3.0.45 99 2/15/2024
3.0.44 117 2/9/2024
3.0.43 120 2/7/2024
3.0.42 118 2/6/2024
3.0.41 105 2/5/2024
3.0.40 101 1/31/2024
3.0.39 104 1/30/2024
3.0.38 94 1/23/2024
3.0.37 94 1/22/2024
3.0.36 126 1/11/2024
3.0.35 168 12/13/2023
3.0.34 135 12/12/2023
3.0.33 150 11/23/2023
3.0.32 126 11/20/2023
3.0.31 147 11/17/2023
3.0.30 124 11/16/2023
3.0.29 117 11/7/2023
3.0.28 125 11/6/2023
3.0.27 131 10/31/2023
3.0.26 123 10/30/2023
3.0.25 133 10/25/2023
3.0.24 152 10/11/2023
3.0.23 147 9/25/2023
3.0.22 131 9/19/2023
3.0.21 139 9/18/2023
3.0.20 152 9/13/2023
3.0.19 131 9/12/2023
3.0.18 143 9/11/2023
3.0.17 119 9/6/2023
3.0.16 133 9/5/2023
3.0.15 159 9/4/2023
3.0.14 150 9/1/2023
3.0.13 135 8/31/2023
3.0.12 160 8/30/2023
3.0.11 153 8/29/2023
3.0.10 183 8/28/2023
3.0.9 177 8/22/2023
3.0.8 157 8/17/2023
3.0.7 173 8/9/2023
3.0.6 164 8/8/2023
3.0.5 157 8/7/2023
3.0.4 165 7/25/2023
3.0.3 145 7/14/2023
3.0.2 183 7/13/2023
3.0.1 188 7/12/2023
3.0.0 305 12/12/2022
2.0.7 454 6/6/2022
2.0.5 453 1/11/2022
2.0.3 442 1/7/2021
2.0.2 569 9/13/2020
2.0.1 495 3/25/2020
2.0.0 513 12/23/2019
1.0.3 777 11/8/2018
1.0.2 697 11/6/2018