Commit 26ffcef
committed
Update targets, dependencies, and improve Library API
- Bump NuGet package versions for Azure, AWS, BouncyCastle, Google, Microsoft.Extensions, and xUnit
- Change target frameworks to net481 and net10.0
- Make Library class partial; add thread-safe explicit Initialize()
- Require initialization before encrypt/decrypt; throw if not initialized
- Add CancellationToken support to all async methods
- Zero key material from memory after use for security
- Use stricter key name validation (GeneratedRegex on .NET 8+)
- Expand and clarify XML documentation
- Improve exception handling and parameter validation
- Mark synchronous APIs as obsolete and document deadlock risk
- Minor code style and documentation improvements1 parent 9d96b72 commit 26ffcef
3 files changed
Lines changed: 426 additions & 107 deletions
File tree
- Reina.Cryptography.Tests
- Reina.Cryptography
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
0 commit comments