Change alteration method
This commit is contained in:
parent
cf78f70131
commit
7573502226
@ -84,8 +84,8 @@ class _MyAppState extends State<MyApp> {
|
|||||||
if (encryptedPayload == null || encryptedPayload[0].isEmpty) {
|
if (encryptedPayload == null || encryptedPayload[0].isEmpty) {
|
||||||
output = 'Encrypt before altering payload!';
|
output = 'Encrypt before altering payload!';
|
||||||
} else {
|
} else {
|
||||||
// Shuffle payload.
|
// Add 1 to the first byte
|
||||||
encryptedPayload[0].shuffle();
|
encryptedPayload[0][0] += 1;
|
||||||
output = 'Payload altered.';
|
output = 'Payload altered.';
|
||||||
}
|
}
|
||||||
setState(() {
|
setState(() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user