Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <[email protected]>
  • Loading branch information
nguyennv committed Oct 15, 2024
1 parent ee3fbb8 commit df9b7f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/packet/compression_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'package:test/test.dart';
void main() {
group('Compression', () {
final literalData =
LiteralDataPacket.fromText(faker.randomGenerator.string(1000));
LiteralDataPacket.fromText(faker.randomGenerator.string(10000));

test('zip test', () {
final compressedPacket = CompressedDataPacket.fromPacketList(
Expand Down
4 changes: 2 additions & 2 deletions test/packet/encryption_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import '../data/key_data.dart';
void main() {
group('symmetrically', () {
final literalData =
LiteralDataPacket.fromText(faker.randomGenerator.string(1000));
LiteralDataPacket.fromText(faker.randomGenerator.string(10000));
final packets = PacketList([literalData]);
final key = Helper.generateEncryptionKey(); // encryption key
final kek = faker.randomGenerator.string(10); // key encryption key
Expand Down Expand Up @@ -285,7 +285,7 @@ void main() {

test('test encrypt', () async {
final literalData =
LiteralDataPacket.fromText(faker.randomGenerator.string(1000));
LiteralDataPacket.fromText(faker.randomGenerator.string(10000));
final packets = PacketList([literalData]);
final key = Helper.generateEncryptionKey(SymmetricAlgorithm.aes256);

Expand Down

0 comments on commit df9b7f8

Please sign in to comment.