Method | Description | |
---|---|---|
Aes ( ) : System | ||
Encrypt ( string dataToEncrypt, byte aesKey ) : string | ||
EncryptWithIv ( string dataToEncrypt, byte aesKey, byte iv ) : string | ||
GenerateIV ( ) : byte[] | ||
GenerateKey ( ) : byte[] |
public Encrypt ( string dataToEncrypt, byte aesKey ) : string | ||
dataToEncrypt | string | |
aesKey | byte | |
return | string |
public EncryptWithIv ( string dataToEncrypt, byte aesKey, byte iv ) : string | ||
dataToEncrypt | string | |
aesKey | byte | |
iv | byte | |
return | string |