Change alteration method

This commit is contained in:
Hugo Pointcheval 2020-04-18 16:32:02 +02:00
parent cf78f70131
commit 7573502226

View File

@ -84,8 +84,8 @@ class _MyAppState extends State<MyApp> {
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(() {