C# Class EpLibrary.cs.AesCrypt

This is a class for AES Crypt Class
显示文件 Open project: juhgiyo/EpLibrary.cs Class Usage Examples

Public Methods

Method Description
GetCrypt ( byte cryptData, int offset, int count, string cryptPwd, CryptType cryptType ) : byte[]

Encrypt/Decypt the given cryptData with the given password

GetCrypt ( byte cryptData, int offset, int count, string cryptPwd, byte keySalt, CryptType cryptType ) : byte[]

Encrypt/Decypt the given cryptData with the given password

if keySalt is null, then default keySalt is used

GetCrypt ( byte cryptData, string cryptPwd, CryptType cryptType ) : byte[]

Encrypt/Decypt the given cryptData with the given password

GetCrypt ( byte cryptData, string cryptPwd, byte keySalt, CryptType cryptType ) : byte[]

Encrypt/Decypt the given cryptData with the given password

if keySalt is null, then default keySalt is used

GetCrypt ( string cryptData, string cryptPwd, CryptType cryptType ) : string

Encrypt/Decypt the given cryptData string with the given password

GetCrypt ( string cryptData, string cryptPwd, byte keySalt, CryptType cryptType ) : string

Encrypt/Decypt the given cryptData string with the given password

if keySalt is null, then default keySalt is used

Method Details

GetCrypt() public static method

Encrypt/Decypt the given cryptData with the given password
public static GetCrypt ( byte cryptData, int offset, int count, string cryptPwd, CryptType cryptType ) : byte[]
cryptData byte data to crypt
offset int offset of cryptData for crypt
count int length for crypt
cryptPwd string password string
cryptType CryptType crypt type
return byte[]

GetCrypt() public static method

Encrypt/Decypt the given cryptData with the given password
if keySalt is null, then default keySalt is used
public static GetCrypt ( byte cryptData, int offset, int count, string cryptPwd, byte keySalt, CryptType cryptType ) : byte[]
cryptData byte data to crypt
offset int offset of cryptData for crypt
count int length for crypt
cryptPwd string password string
keySalt byte salt string
cryptType CryptType crypt type
return byte[]

GetCrypt() public static method

Encrypt/Decypt the given cryptData with the given password
public static GetCrypt ( byte cryptData, string cryptPwd, CryptType cryptType ) : byte[]
cryptData byte data to crypt
cryptPwd string password string
cryptType CryptType crypt type
return byte[]

GetCrypt() public static method

Encrypt/Decypt the given cryptData with the given password
if keySalt is null, then default keySalt is used
public static GetCrypt ( byte cryptData, string cryptPwd, byte keySalt, CryptType cryptType ) : byte[]
cryptData byte data to crypt
cryptPwd string password string
keySalt byte salt string
cryptType CryptType crypt type
return byte[]

GetCrypt() public static method

Encrypt/Decypt the given cryptData string with the given password
public static GetCrypt ( string cryptData, string cryptPwd, CryptType cryptType ) : string
cryptData string string data to encrypt
cryptPwd string password string
cryptType CryptType crypt type
return string

GetCrypt() public static method

Encrypt/Decypt the given cryptData string with the given password
if keySalt is null, then default keySalt is used
public static GetCrypt ( string cryptData, string cryptPwd, byte keySalt, CryptType cryptType ) : string
cryptData string string data to encrypt
cryptPwd string password string
keySalt byte
cryptType CryptType crypt type
return string