C# Class Rainy.Crypto.CryptoHelper

显示文件 Open project: Dynalon/Rainy

Public Methods

Method Description
Create256BitLowerCaseHexKey ( this crypto ) : string
DecryptWithKey ( this ciphertext, string hexkey, string iv ) : string
EncryptWithKey ( this plaintext, string hexkey, string iv ) : string
ToByteArray ( this text ) : byte[]
ToHexString ( this bytes ) : string

Method Details

Create256BitLowerCaseHexKey() public static method

public static Create256BitLowerCaseHexKey ( this crypto ) : string
crypto this
return string

DecryptWithKey() public static method

public static DecryptWithKey ( this ciphertext, string hexkey, string iv ) : string
ciphertext this
hexkey string
iv string
return string

EncryptWithKey() public static method

public static EncryptWithKey ( this plaintext, string hexkey, string iv ) : string
plaintext this
hexkey string
iv string
return string

ToByteArray() public static method

public static ToByteArray ( this text ) : byte[]
text this
return byte[]

ToHexString() public static method

public static ToHexString ( this bytes ) : string
bytes this
return string