Show / Hide Table of Contents

Class CryptographyUtils

Inheritance
object
CryptographyUtils
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public static class CryptographyUtils

Methods

CreateSHA1()

Declaration
public static SHA1 CreateSHA1()
Returns
Type Description
SHA1

CreateSHA256()

Declaration
public static SHA256 CreateSHA256()
Returns
Type Description
SHA256

CreateSHA384()

Declaration
public static SHA384 CreateSHA384()
Returns
Type Description
SHA384

CreateSHA512()

Declaration
public static SHA512 CreateSHA512()
Returns
Type Description
SHA512

GenerateHash(string)

Declaration
public static string GenerateHash(this string str)
Parameters
Type Name Description
string str
Returns
Type Description
string

GenerateHash(string, HashAlgorithm)

Declaration
public static string GenerateHash(this string str, HashAlgorithm hasher)
Parameters
Type Name Description
string str
HashAlgorithm hasher
Returns
Type Description
string

GenerateHash(string, string)

Declaration
public static string GenerateHash(this string str, string hashType)
Parameters
Type Name Description
string str
string hashType
Returns
Type Description
string

GenerateMd5(string)

Declaration
public static string GenerateMd5(this string str)
Parameters
Type Name Description
string str
Returns
Type Description
string

GenerateSha256Hash(string)

Declaration
public static string GenerateSha256Hash(this string str)
Parameters
Type Name Description
string str
Returns
Type Description
string
Back to top by the community, for the community... #DNNCMS