We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfef3a3 commit c3af5fcCopy full SHA for c3af5fc
1 file changed
src/SafeCrypt.Lib/Encryption/AesEncryption/Models/BaseAesEncryptionParameters.cs
@@ -0,0 +1,25 @@
1
+using System.ComponentModel.DataAnnotations;
2
+
3
+namespace SafeCrypt.Models
4
+{
5
+ public class BaseAesEncryptionParameters
6
+ {
7
+ /// <summary>
8
+ /// Gets or sets the data to be encrypted.
9
+ /// </summary>
10
+ [Required]
11
+ public string Data { get; set; }
12
13
14
+ /// Gets or sets the secret key used for encryption.
15
16
17
+ public string SecretKey { get; set; }
18
19
20
+ /// Gets or sets the initialization vector (IV) used for encryption.
21
22
23
+ public string IV { get; set; }
24
+ }
25
+}
0 commit comments