Skip to content

Commit 2202855

Browse files
committed
add models folder in aes encryption
1 parent a409052 commit 2202855

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

src/Encryption/AesEncryption/AesEncryption.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Text;
33
using System.Security.Cryptography;
44
using SafeCrypt.src.Helpers;
5+
using SafeCrypt.src.Encryption.AesEncryption.Models;
56

67
namespace SafeCrypt.src.Encrypt.AesEncryption
78
{
@@ -120,9 +121,4 @@ private void NullChecks(string data, string secretKey)
120121
}
121122
}
122123

123-
public class AesEncryptionData
124-
{
125-
public byte[] Data { get; set; }
126-
public byte[] Iv { get; set; }
127-
}
128124
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Text;
4+
5+
namespace SafeCrypt.src.Encryption.AesEncryption.Models
6+
{
7+
public class AesEncryptionData
8+
{
9+
public byte[] Data { get; set; }
10+
public byte[] Iv { get; set; }
11+
}
12+
}

0 commit comments

Comments
 (0)