Skip to content

Commit c3af5fc

Browse files
committed
add BaseAesEncryptionParameters
1 parent bfef3a3 commit c3af5fc

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
/// <summary>
14+
/// Gets or sets the secret key used for encryption.
15+
/// </summary>
16+
[Required]
17+
public string SecretKey { get; set; }
18+
19+
/// <summary>
20+
/// Gets or sets the initialization vector (IV) used for encryption.
21+
/// </summary>
22+
[Required]
23+
public string IV { get; set; }
24+
}
25+
}

0 commit comments

Comments
 (0)