From 75735022260cdf6faf36e8cd73c9a8ab4de9b0df Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Sat, 18 Apr 2020 16:32:02 +0200 Subject: [PATCH] Change alteration method --- example/lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index a47fa2f..84ab82e 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -84,8 +84,8 @@ class _MyAppState extends State { if (encryptedPayload == null || encryptedPayload[0].isEmpty) { output = 'Encrypt before altering payload!'; } else { - // Shuffle payload. - encryptedPayload[0].shuffle(); + // Add 1 to the first byte + encryptedPayload[0][0] += 1; output = 'Payload altered.'; } setState(() {