C# Класс LoveSeat.DocUpdater.Sha1Util

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

HexStringFromBytes() публичный статический Метод

Convert an array of bytes to a string of hex digits
public static HexStringFromBytes ( byte bytes ) : string
bytes byte array of bytes
Результат string

Sha1HashStringForUtf8String() публичный статический Метод

Compute hash for string encoded as UTF8
public static Sha1HashStringForUtf8String ( string s ) : string
s string String to be hashed
Результат string