CriptHashes 1.0.3
.NET Core 3.1
Install-Package CriptHashes -Version 1.0.3
dotnet add package CriptHashes --version 1.0.3
<PackageReference Include="CriptHashes" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CriptHashes --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CriptHashes, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CriptHashes as a Cake Addin
#addin nuget:?package=CriptHashes&version=1.0.3
// Install CriptHashes as a Cake Tool
#tool nuget:?package=CriptHashes&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Get the hashes that you want.
MD5
SHA1
SHA256
SHA384
SHA512
You can check the credibility of the Hash using the method.
Code example:
IHash _hash = new Hash();
var result = _hash.GetHash("test", HashType.SHA512);
var checkHash = _hash.CheckHash(
"test",
"9f7d8627e02f97cc5a52dcb2ba96038fe12f2a34b0fac50e041359ae13d5ede8a8a50562da58ba7916da378e7343ef91e85efbd6a0a70ab237ada4c2274df13d",
HashType.SHA512);
Console.WriteLine(checkHash);
Console.WriteLine(result);
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.1 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Get the hashes that you want.
MD5
SHA1
SHA256
SHA384
SHA512
You can check the credibility of the Hash using the method.