C# Class Welp.AesCrypto

Inheritance: ICrypto
显示文件 Open project: puckipedia/MagisterAPI

Public Methods

Method Description
Decrypt ( byte Data, byte Key ) : byte[]
Encrypt ( byte Data, byte Key ) : byte[]

Private Methods

Method Description
DecryptStringFromBytes ( byte cipherText, byte Key, byte IV ) : string
EncryptStringToBytes ( byte plainText, byte Key, byte IV ) : byte[]

Method Details

Decrypt() public method

public Decrypt ( byte Data, byte Key ) : byte[]
Data byte
Key byte
return byte[]

Encrypt() public method

public Encrypt ( byte Data, byte Key ) : byte[]
Data byte
Key byte
return byte[]