Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug/Release behavior on Flutter 1.5.4 #2

Open
alextekartik opened this issue May 14, 2019 · 0 comments
Open

Debug/Release behavior on Flutter 1.5.4 #2

alextekartik opened this issue May 14, 2019 · 0 comments

Comments

@alextekartik
Copy link

Thanks for your plugin that I use as a way to encode a database as an example in sembast.

After some tests, I found that indeed xxtea gives different results on debug and release!

xxtea.encryptToString('value', 'test')

When used in current Flutter stable, it gives NMvXe7aiJfgaFlsx on debug and something different (randomly) on release (but that could be possible in some encryption algorithm but I think not here). But it also cannot decrypt the debug value:

xxtea.decryptToString('NMvXe7aiJfgaFlsx', 'test')

gives something different each time ('Falue', '\nalue'...) where the first letter is messed up.

According to a user, it was working fine on Flutter 1.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant