Skip to content

Debug/Release behavior on Flutter 1.5.4 #2

@alextekartik

Description

@alextekartik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions