SanlieHash 1.16.9

dotnet add package SanlieHash --version 1.16.9
                    
NuGet\Install-Package SanlieHash -Version 1.16.9
                    
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="SanlieHash" Version="1.16.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SanlieHash" Version="1.16.9" />
                    
Directory.Packages.props
<PackageReference Include="SanlieHash" />
                    
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 SanlieHash --version 1.16.9
                    
#r "nuget: SanlieHash, 1.16.9"
                    
#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 SanlieHash@1.16.9
                    
#: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=SanlieHash&version=1.16.9
                    
Install as a Cake Addin
#tool nuget:?package=SanlieHash&version=1.16.9
                    
Install as a Cake Tool

SanlieHash

专注于散列计算,让hash计算 便捷、简单。

特性示例

获取文本 hash

FastHash.GetMD5("test");

获取指定流的 hash

using var file = File.OpenRead("SanlieHash.dll");
var hash = FastHash.GetHashText<SM3>(file);

计算状态可恢复

使用 TakeState 提取当前计算状态,待计算时重新 LoadState 加载状态。

var state = hash.TakeState();
hash.LoadState(state);

共用接口 IHash

public interface IHash
{
    int HashBits { get; }
    void New();
    void Update(byte _byte);
    void Update(byte[] data);
    void Update(byte[] data, int length);
    void Update(byte[] data, int start, int length);
    byte[] MakeBytes();
    string Make();
    byte[] MakeBytes(byte[] data);
    string Make(byte[] data);
    string TakeState();
    void LoadState(string state);
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 2.0

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on SanlieHash:

Package Downloads
tuimg

tuimg image project. tuimg 是一个专注于操作、读取、生成图片 的解决方案。

rehot

热使用动态链接库dynamic loading

yacomp

yacomp 专注于压缩数据读写 的解决方案。

sumath

sumath math library

oueb.react

oueb react加载插件

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.16.9 209 2/24/2026
1.16.8 346 1/15/2026
1.16.7 484 11/25/2025
1.16.6 350 11/15/2025
1.16.5 2,085 8/13/2025
1.16.4 418 8/1/2025
1.16.3 898 7/1/2025
1.16.2 632 6/12/2025
1.16.1 228 5/9/2025
1.16.0 166 12/1/2024
1.15.0 170 11/25/2024
1.1.0 180 10/31/2024
1.0.0 175 10/14/2024