Aprox. 95% of strings are encrypted, saved and load OK. But with some words I receive an empty string or an error. Demo proyect is attached.
Works fine with:
)(@3849lñ.kd88hoiujhiou
jkgakglaghiasughuiao
jaui oike
jaui oike27
jauioike27
tango272
raven27
I receive empty strings with;
gaston27
gasto27
mal
Error with: tango27
Note: If you add a space at the end of the string before encrypt it, then works fine 100%, so I could solve this problem adding a space to write and removing it after read it.
The question is: Why?
Best regards.