You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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!
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: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.
The text was updated successfully, but these errors were encountered: