Skip to content

Commit 7c582c2

Browse files
committed
update EncryptionData to inherit BaseAesData properties
1 parent d8c675c commit 7c582c2

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

src/SafeCrypt.Lib/Encryption/AesEncryption/Models/Encrypt/EncryptionData.cs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,11 @@
22

33
namespace SafeCrypt.Models
44
{
5-
/// <summary>
6-
/// Represents the data and initialization vector (IV) used in encryption.
7-
/// </summary>
8-
public class EncryptionData
5+
public class EncryptionData : BaseAesData
96
{
107
/// <summary>
118
/// Gets or sets the data to be encrypted.
129
/// </summary>
1310
public string EncryptedData { get; set; }
14-
15-
/// <summary>
16-
/// Gets or sets the initialization vector (IV) used for encryption.
17-
/// </summary>
18-
public string Iv { get; set; }
19-
20-
/// <summary>
21-
/// Gets or sets the secret key used for encryption. Should be a base64 string
22-
/// </summary>
23-
public string SecretKey { get; set; }
24-
25-
public bool HasError { get; set; }
26-
27-
public List<string> Errors { get; set; } = new List<string>();
2811
}
2912
}

0 commit comments

Comments
 (0)