C# Class withSIX.Core.Extensions.Hash

Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
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

Method Details

GetMd5HasFromStream() public static method

public static GetMd5HasFromStream ( Stream stream ) : string
stream Stream
return string

GetMd5HashFromFile() public static method

public static GetMd5HashFromFile ( IAbsoluteFilePath path ) : string
path IAbsoluteFilePath
return string

MD5() public static method

public static MD5 ( this password, int rotations = 1 ) : byte[]
password this
rotations int
return byte[]

MD5String() public static method

public static MD5String ( this password, int rotations = 1 ) : string
password this
rotations int
return string

Sha1() public static method

public static Sha1 ( this stream, int rotations = 1 ) : byte[]
stream this
rotations int
return byte[]

Sha1String() public static method

public static Sha1String ( this password, int rotations = 1 ) : string
password this
rotations int
return string

Sha256() public static method

public static Sha256 ( this password, int rotations = 1 ) : byte[]
password this
rotations int
return byte[]

Sha256String() public static method

public static Sha256String ( this password, int rotations = 1 ) : string
password this
rotations int
return string

Sha512() public static method

public static Sha512 ( this password, int rotations = 1 ) : byte[]
password this
rotations int
return byte[]

Sha512String() public static method

public static Sha512String ( this password, int rotations = 1 ) : string
password this
rotations int
return string