C# Class MGDF.GamesManager.Common.Extensions.CryptographyExtensions

Exibir arquivo Open project: mrsharpoblunto/MGDF

Public Methods

Method Description
ComputeHash ( this input, HashAlgorithm hashAlg ) : string
ComputeHash ( this input, int count, HashAlgorithm hashAlg ) : string
ComputeMD5 ( this input ) : string
ComputeMD5 ( this input, int count ) : string
ConvertFromBase16 ( this input ) : byte[]
ConvertToBase16 ( this input ) : string

Method Details

ComputeHash() public static method

public static ComputeHash ( this input, HashAlgorithm hashAlg ) : string
input this
hashAlg System.Security.Cryptography.HashAlgorithm
return string

ComputeHash() public static method

public static ComputeHash ( this input, int count, HashAlgorithm hashAlg ) : string
input this
count int
hashAlg System.Security.Cryptography.HashAlgorithm
return string

ComputeMD5() public static method

public static ComputeMD5 ( this input ) : string
input this
return string

ComputeMD5() public static method

public static ComputeMD5 ( this input, int count ) : string
input this
count int
return string

ConvertFromBase16() public static method

public static ConvertFromBase16 ( this input ) : byte[]
input this
return byte[]

ConvertToBase16() public static method

public static ConvertToBase16 ( this input ) : string
input this
return string