File tree Expand file tree Collapse file tree
src/Encryption/AesEncryption Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88namespace SafeCrypt . AesEncryption
99{
10- public class BaseAesEncryption
10+ internal class BaseAesEncryption
1111 {
1212 /// <summary>
1313 /// Encrypts the provided data using the Advanced Encryption Standard (AES) algorithm.
@@ -25,7 +25,7 @@ public class BaseAesEncryption
2525 /// <exception cref="Exception">
2626 /// Thrown for general encryption-related exceptions.
2727 /// </exception>
28- public virtual byte [ ] EncryptAES ( ByteEncryptionParameters param )
28+ internal static byte [ ] EncryptAES ( ByteEncryptionParameters param )
2929 {
3030 try
3131 {
@@ -73,7 +73,7 @@ public virtual byte[] EncryptAES(ByteEncryptionParameters param)
7373 /// <exception cref="ArgumentNullException">
7474 /// Thrown if the input encrypted data, key, or initialization vector is null.
7575 /// </exception>
76- public static byte [ ] DecryptAES ( ByteDecryptionParameters param )
76+ internal static byte [ ] DecryptAES ( ByteDecryptionParameters param )
7777 {
7878 try
7979 {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace SafeCrypt.src.Encryption.AesEncryption.Models
88 /// <summary>
99 /// Represents the parameters required for encryption.
1010 /// </summary>
11- public class ByteEncryptionParameters
11+ internal class ByteEncryptionParameters
1212 {
1313 /// <summary>
1414 /// Gets or sets the data to be encrypted.
@@ -29,7 +29,7 @@ public class ByteEncryptionParameters
2929 public byte [ ] IV { get ; set ; }
3030 }
3131
32- public class ByteDecryptionParameters
32+ internal class ByteDecryptionParameters
3333 {
3434 /// <summary>
3535 /// Gets or sets the data to be encrypted.
You can’t perform that action at this time.
0 commit comments