Save variable in a loop

Hello,

Thank you for your example.
I still have a question : can we encrypt the data so that the user can not change them ?

Thank you.