Skip to content

Commit fcb9c4c

Browse files
committed
Add comment fot new method
1 parent dd86667 commit fcb9c4c

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Encrypt/AesEncryption/Encrypt.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ public string AesEncryptByteToString(byte[] data, byte[] secretKey, byte[] iv)
6060
return cipherText.BytesToString();
6161
}
6262

63+
// needs methods that would accept aes mode
64+
//public byte[] AesEncrypt(byte[] data, byte[] key, byte[] iv, ReturnType returnType)
65+
//{
66+
67+
//}
68+
6369
private void NullChecks(string data, string secretKey, string iv)
6470
{
6571
if (data == null || data.Length <= 0)
@@ -79,12 +85,7 @@ private void NullChecks(string data, string secretKey)
7985

8086
if (secretKey == null || secretKey.Length <= 0)
8187
throw new ArgumentNullException(nameof(secretKey));
82-
}
83-
84-
//public byte[] AesEncrypt(byte[] data, byte[] key, byte[] iv, ReturnType returnType)
85-
//{
86-
87-
//}
88+
}
8889
}
8990

9091
public class AesData

0 commit comments

Comments
 (0)