C# Class LoveSeat.DocUpdater.Sha1Util

Afficher le fichier Open project: soitgoes/LoveSeat Class Usage Examples

Méthodes publiques

Méthode Description
HexStringFromBytes ( byte bytes ) : string

Convert an array of bytes to a string of hex digits

Sha1HashStringForUtf8String ( string s ) : string

Compute hash for string encoded as UTF8

Method Details

HexStringFromBytes() public static méthode

Convert an array of bytes to a string of hex digits
public static HexStringFromBytes ( byte bytes ) : string
bytes byte array of bytes
Résultat string

Sha1HashStringForUtf8String() public static méthode

Compute hash for string encoded as UTF8
public static Sha1HashStringForUtf8String ( string s ) : string
s string String to be hashed
Résultat string