We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2c568 commit 2ebe08aCopy full SHA for 2ebe08a
1 file changed
test/argon2_test.dart
@@ -431,7 +431,7 @@ void main() {
431
iterations: 3,
432
parallelism: 2,
433
memorySizeKB: 8192,
434
- salt: List<int>.generate(0x3FFFFFF + 1, (i) => i),
+ salt: Uint8List(0x3FFFFFF + 1),
435
),
436
throwsA(isA<ArgumentError>().having((e) => e.message, 'message',
437
'The salt must be at most 67108863 bytes long')),
@@ -457,7 +457,7 @@ void main() {
457
458
459
460
- key: List<int>.generate(0x3FFFFFF + 1, (i) => i),
+ key: Uint8List(0x3FFFFFF + 1),
461
462
463
'The key must be at most 67108863 bytes long')),
0 commit comments