Skip to content

Commit 5995eb6

Browse files
committed
feat: hide internal members
1 parent 7e7aa81 commit 5995eb6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Encryption/AesEncryption/BaseAesEncryption.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace 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
{

src/Encryption/AesEncryption/Models/ByteEncryptionParameters.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)