HashCodeHelper 类
程序集: Fantasy.Net.dll
语法
public static class HashCodeHelper
方法
|
编辑本文
查看源代码
ComputeHash64(string)
使用MurmurHash3算法生成一个long的值
声明
public static long ComputeHash64(string str)
参数
返回
|
编辑本文
查看源代码
ComputeSha256HashAsInt(string)
声明
public static int ComputeSha256HashAsInt(string rawData)
参数
返回
|
编辑本文
查看源代码
GetBKDRHashCode(string)
声明
public static long GetBKDRHashCode(string str)
参数
返回
|
编辑本文
查看源代码
MurmurHash3(string)
使用MurmurHash3算法生成一个uint的值
声明
public static uint MurmurHash3(string str)
参数
返回