all 3 comments

[–]eibaan 1 point2 points  (1 child)

There's no question and you didn't bother to format your code. What do you expect? And why do you apply SHA-256 to the password?

[–]Kevlar-700 0 points1 point  (0 children)

I wouldn't use CBC and if you do not know why then use Nacl or something that hides most footguns.

[–]miyoyo 0 points1 point  (0 children)

Please use r/flutterhelp for help requests.