@@ -4,59 +4,25 @@ SPDX-FileCopyrightText: 2025 Frans van Dorsselaer
44SPDX-License-Identifier: MIT
55-->
66
7- # This is the ** HOMEPAGE **
7+ # dotnet-aes-extra
88
9- ## Under construction
9+ The library leverages the AES implementation of .NET; it does not contain the AES primitive itself.
10+ Instead, it adds modes of AES that are not in available in .NET / .NET Core / .NET Framework.
1011
11- > [ !NOTE]
12- > Information the user should notice even if skimming.
12+ The library exposes its objects modeled after default .NET classes, so its usage is straightforward.
1313
14- <!-- new blockquote -->
14+ The @"Dorssel.Security.Cryptography?text=API" includes both the classic ` byte[] ` as well as the modern ` Span<byte> ` overloads.
1515
16- > [ !TIP ]
17- > Optional information to help a user be more successful.
16+ There are two builds of the library included in th package, one for .NET Standard 2.0 and one for .NET 8 (or higher).
17+ The public @"Dorssel.Security.Cryptography?text=API" is the same for both, but internally the builds slightly differ:
1818
19- <!-- new blockquote -->
19+ - The .NET Standard build depends on ` Microsoft.Bcl.AsyncInterfaces ` and ` Microsoft.Bcl.Memory ` for ` ValueTask ` and ` Span ` support.
2020
21- > [ !IMPORTANT ]
22- > Essential information required for user success .
21+ - The .NET 8 build uses ` CryptographicOperations ` for ` ZeroMemory ` and ` FixedTimeEquals ` ,
22+ whereas the .NET Standard build uses an internal implementation backported from the original .NET 8 code .
2323
24- <!-- new blockquote -->
24+ - The .NET 8 build supports trimming.
2525
26- > [ !CAUTION]
27- > Negative potential consequences of an action.
26+ ## Example
2827
29- <!-- new blockquote -->
30-
31- > [ !WARNING]
32- > Dangerous certain consequences of an action.
33-
34- <!-- new blockquote -->
35-
36- > [ !TODO]
37- > This needs to be done.
38-
39- Refer to [ Markdown] ( http://daringfireball.net/projects/markdown/ ) for how to write markdown files.
40-
41- ## Quick Start Notes
42-
43- 1 . Add images to the * images* folder if the file is referencing an image.
44-
45- ## MathJax example
46-
47- Inline: $\sqrt{3x-1}+(1+x)^2$
48-
49- Or paragraph:
50-
51- $$ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) $$
52-
53- ## Mermaid example
54-
55- ``` mermaid
56- flowchart LR
57-
58- A[Hard] -->|Text| B(Round)
59- B --> C{Decision}
60- C -->|One| D[Result 1]
61- C -->|Two| E[Result 2]
62- ```
28+ [ !code-csharp[ ] ( ../Example/Program.cs )]
0 commit comments