C# Class DotNetStandard.HashGenerators.HashGenerator

Mostra file Open project: Skookum/dotnetstandard

Public Methods

Method Description
GetBCryptHash ( string text ) : string
GetHash ( string text ) : string
GetMd5Hash ( string input ) : string
GetRandomHash ( ) : string
StringHash ( int length, string allowedChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ) : string

Method Details

GetBCryptHash() public static method

public static GetBCryptHash ( string text ) : string
text string
return string

GetHash() public static method

public static GetHash ( string text ) : string
text string
return string

GetMd5Hash() public static method

public static GetMd5Hash ( string input ) : string
input string
return string

GetRandomHash() public static method

public static GetRandomHash ( ) : string
return string

StringHash() public static method

public static StringHash ( int length, string allowedChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ) : string
length int
allowedChars string
return string