C# Класс withSIX.Core.Extensions.Hash

Показать файл Открыть проект

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

Метод Описание
GetMd5HasFromStream ( Stream stream ) : string
GetMd5HashFromFile ( IAbsoluteFilePath path ) : string
MD5 ( this password, int rotations = 1 ) : byte[]
MD5String ( this password, int rotations = 1 ) : string
Sha1 ( this stream, int rotations = 1 ) : byte[]
Sha1String ( this password, int rotations = 1 ) : string
Sha256 ( this password, int rotations = 1 ) : byte[]
Sha256String ( this password, int rotations = 1 ) : string
Sha512 ( this password, int rotations = 1 ) : byte[]
Sha512String ( this password, int rotations = 1 ) : string

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

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

public static GetMd5HasFromStream ( Stream stream ) : string
stream Stream
Результат string

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

public static GetMd5HashFromFile ( IAbsoluteFilePath path ) : string
path IAbsoluteFilePath
Результат string

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

public static MD5 ( this password, int rotations = 1 ) : byte[]
password this
rotations int
Результат byte[]

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

public static MD5String ( this password, int rotations = 1 ) : string
password this
rotations int
Результат string

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

public static Sha1 ( this stream, int rotations = 1 ) : byte[]
stream this
rotations int
Результат byte[]

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

public static Sha1String ( this password, int rotations = 1 ) : string
password this
rotations int
Результат string

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

public static Sha256 ( this password, int rotations = 1 ) : byte[]
password this
rotations int
Результат byte[]

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

public static Sha256String ( this password, int rotations = 1 ) : string
password this
rotations int
Результат string

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

public static Sha512 ( this password, int rotations = 1 ) : byte[]
password this
rotations int
Результат byte[]

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

public static Sha512String ( this password, int rotations = 1 ) : string
password this
rotations int
Результат string