Skip to content

Commit 469aaaf

Browse files
committed
Add aes decrypt method with byte param
1 parent d68b205 commit 469aaaf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Encrypt/AesEncryption/AesEncryption.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ public class AesEncryption : BaseAesEncryption
99
public byte[] AesEncrypt(byte[] data, byte[] secretKey, byte[] iv)
1010
=> EncryptAES(data, secretKey, iv);
1111

12+
public byte[] AesDecrypt(byte[] data, byte[] secretKey, byte[] iv)
13+
=> DecryptAES(data, secretKey, iv);
14+
1215
public byte[] AesEncrypt(string data, string secretKey, string iv)
1316
{
1417
NullChecks(data, secretKey, iv);

0 commit comments

Comments
 (0)