Skip to content

Commit 575b2ff

Browse files
committed
feat: change aes encryption and decryption class into partial class
feat: modified namespace to be AES for encryption and decryption
1 parent 5cf8ad8 commit 575b2ff

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/SafeCrypt.Lib/Encryption/AesEncryption/Decrypting.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
using System.Security.Cryptography;
66
using System.Threading.Tasks;
77

8-
namespace SafeCrypt.AESDecryption
8+
namespace SafeCrypt.AES
99
{
10-
public static class AesDecryption
10+
public static partial class Aes
1111
{
1212
/// <summary>
1313
/// Asynchronously decrypts data from a hexadecimal string using the specified decryption parameters and cipher mode.

src/SafeCrypt.Lib/Encryption/AesEncryption/Encrypting.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
using SafeCrypt.Helpers;
66
using SafeCrypt.Models;
77

8-
namespace SafeCrypt.AESEncryption
8+
namespace SafeCrypt.AES
99
{
10-
public static class AesEncryption
10+
public static partial class Aes
1111
{
1212
/// <summary>
1313
/// Asynchronously encrypts the provided data using the specified secret key and initialization vector (IV).

0 commit comments

Comments
 (0)