C# Class Hugula.Cryptograph.CryptographHelper

ファイルを表示 Open project: tenvick/hugula Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CrypfString ( string source, string key = "" ) : string

Md5s base64 string.

Decrypt ( byte encryptedBytes, byte Key, byte IV ) : byte[]
Encrypt ( byte PlainBytes, byte Key, byte IV ) : byte[]
Md5Bytes ( byte inputs ) : string

byte[] md5加密

Md5BytesTo32 ( byte inputs ) : string

byte[] md5加密

Md5String ( string source ) : string

string md5加密

Method Details

CrypfString() public static method

Md5s base64 string.
public static CrypfString ( string source, string key = "" ) : string
source string /// Source. ///
key string
return string

Decrypt() public static method

public static Decrypt ( byte encryptedBytes, byte Key, byte IV ) : byte[]
encryptedBytes byte
Key byte
IV byte
return byte[]

Encrypt() public static method

public static Encrypt ( byte PlainBytes, byte Key, byte IV ) : byte[]
PlainBytes byte
Key byte
IV byte
return byte[]

Md5Bytes() public static method

byte[] md5加密
public static Md5Bytes ( byte inputs ) : string
inputs byte
return string

Md5BytesTo32() public static method

byte[] md5加密
public static Md5BytesTo32 ( byte inputs ) : string
inputs byte
return string

Md5String() public static method

string md5加密
public static Md5String ( string source ) : string
source string
return string