C# Class Common.HashHelper

显示文件 Open project: Anexsoft/ASP.NET-MVC-Arquitectura-y-tips

Public Methods

Method Description
Base64Decode ( string word ) : string
Base64Encode ( string word ) : string
MD5 ( string word ) : string
SHA1 ( string str ) : string
SHA256 ( string str ) : string
SHA384 ( string str ) : string
SHA512 ( string str ) : string
Token ( ) : string

Method Details

Base64Decode() public static method

public static Base64Decode ( string word ) : string
word string
return string

Base64Encode() public static method

public static Base64Encode ( string word ) : string
word string
return string

MD5() public static method

public static MD5 ( string word ) : string
word string
return string

SHA1() public static method

public static SHA1 ( string str ) : string
str string
return string

SHA256() public static method

public static SHA256 ( string str ) : string
str string
return string

SHA384() public static method

public static SHA384 ( string str ) : string
str string
return string

SHA512() public static method

public static SHA512 ( string str ) : string
str string
return string

Token() public static method

public static Token ( ) : string
return string