File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,11 @@ abstract class AesCtrSecretKey {
168
168
/// {@endtemplate}
169
169
///
170
170
/// {@template AesCtrSecretKey-compatibility-notes}
171
- /// **Remark** Firefox does not implement counter rollover for AES-CTR
172
- /// correctly. Picking a sufficiently large [length] and using a [counter]
173
- /// that isn't filled with `0xff` will likely avoid counter rollovers.
174
- /// See [bug 1803105] (https://bugzilla.mozilla.org/show_bug.cgi?id=1803105)
175
- /// for details.
171
+ /// > [!NOTE]
172
+ /// > Firefox does not implement counter rollover for AES-CTR correctly.
173
+ /// Picking a sufficiently large `length` and using a ` counter` that isn't
174
+ /// filled with 0xff will likely avoid counter rollovers.
175
+ /// See [bug 1803105] (https://bugzilla.mozilla.org/show_bug.cgi?id=1803105) for details.
176
176
/// {@endtemplate}
177
177
///
178
178
/// [1] : https://csrc.nist.gov/publications/detail/sp/800-38a/final
Original file line number Diff line number Diff line change @@ -202,7 +202,8 @@ abstract class AesGcmSecretKey {
202
202
/// {@endtemplate}
203
203
///
204
204
/// {@template AesGcmSecretKey-remark:no-stream-api}
205
- /// **Remark** this package does not offer a streaming API for
205
+ /// > [!NOTE]
206
+ /// > This package does not offer a streaming API for
206
207
/// encryption / decryption using AES-GCM, because reading deciphered
207
208
/// plaintext prior to complete verification of the tag breaks the
208
209
/// authenticity assurances. Specifically, until the entire message is
@@ -221,7 +222,7 @@ abstract class AesGcmSecretKey {
221
222
222
223
// TODO: Document this method, notice that [data] must be concatenation of
223
224
// ciphertext and authentication tag.
224
- // TODO: Document what happens if the authenticity validation fails? Some Exception?
225
+ // TODO: Document what happens if the authenticity validation fails? Some Exception?
225
226
Future <Uint8List > decryptBytes (
226
227
List <int > data,
227
228
List <int > iv, {
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ abstract class KeyPair<S, T> {
62
62
63
63
/// Elliptic curves supported by ECDSA and ECDH.
64
64
///
65
- /// **Remark**, additional values may be added to this enum in the future.
65
+ /// > [!NOTE]
66
+ /// > Additional values may be added to this enum in the future.
66
67
enum EllipticCurve {
67
68
p256,
68
69
p384,
You can’t perform that action at this time.
0 commit comments