C# Class ResLibTool

显示文件 Open project: lightszero/EgretUnity Class Usage Examples

Public Methods

Method Description
CheckHashString ( string hashstr ) : bool
ComputeHashString ( byte bytes ) : string
ComputeHashString ( string text ) : string
GetStringBytes ( string text ) : byte[]
HashToString ( byte hash ) : string
StringToHash ( string str ) : byte[]

Method Details

CheckHashString() public static method

public static CheckHashString ( string hashstr ) : bool
hashstr string
return bool

ComputeHashString() public static method

public static ComputeHashString ( byte bytes ) : string
bytes byte
return string

ComputeHashString() public static method

public static ComputeHashString ( string text ) : string
text string
return string

GetStringBytes() public static method

public static GetStringBytes ( string text ) : byte[]
text string
return byte[]

HashToString() public static method

public static HashToString ( byte hash ) : string
hash byte
return string

StringToHash() public static method

public static StringToHash ( string str ) : byte[]
str string
return byte[]