-
Notifications
You must be signed in to change notification settings - Fork 141
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
I can't decrypt the text in 5.0.3 😕 #318
Comments
I encountered similar problems, I found that 5.0.3 after each encryption results are different |
So, what is the solution? |
Continue to use 5.0.2
发自我的iPhone
…------------------ Original ------------------
From: najm-flutter ***@***.***>
Date: Mon,Oct 16,2023 5:44 PM
To: leocavalcante/encrypt ***@***.***>
Cc: fuyunmanbu ***@***.***>, Comment ***@***.***>
Subject: Re: [leocavalcante/encrypt] I can't decrypt the text in 5.0.3 �� (Issue #318)
I encountered similar problems, I found that 5.0.3 after each encryption results are different
So, what is the solution?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
can you give me example how to use it to [decrypt] text like as this R4PxiU3h8YoIRqVowBXm36ZcCeNeZ4s1OvVBTfFlZRdmohQqOpPQqD1YecJeZMAop/hZ4OxqgC1WtwvX/hP9mw== |
I can't help you for the time being. I don't have my computer with me!
发自我的iPhone
…------------------ Original ------------------
From: najm-flutter ***@***.***>
Date: Mon,Oct 16,2023 6:50 PM
To: leocavalcante/encrypt ***@***.***>
Cc: fuyunmanbu ***@***.***>, Comment ***@***.***>
Subject: Re: [leocavalcante/encrypt] I can't decrypt the text in 5.0.3 �� (Issue #318)
Continue to use 5.0.2 发自我的iPhone
…
------------------ Original ------------------ From: najm-flutter @.> Date: Mon,Oct 16,2023 5:44 PM To: leocavalcante/encrypt @.> Cc: fuyunmanbu @.>, Comment @.> Subject: Re: [leocavalcante/encrypt] I can't decrypt the text in 5.0.3 �� (Issue #318) I encountered similar problems, I found that 5.0.3 after each encryption results are different So, what is the solution? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
can you give me example how to use it to [decrypt] text like as this R4PxiU3h8YoIRqVowBXm36ZcCeNeZ4s1OvVBTfFlZRdmohQqOpPQqD1YecJeZMAop/hZ4OxqgC1WtwvX/hP9mw==
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Ok Thank's |
i have same problem Invalid argument(s): Invalid or corrupted pad block |
I get this after upgrading from
|
Duplicated #314 |
final iv = IV(Uint8List(16)); I use that and it's working |
my code
Future uncodingthetext(String keyg, msg) async {
final key = Key.fromUtf8('12345678213543543254343432435434');
final iv = IV.fromSecureRandom(16);
final encrypter = Encrypter(AES(key));
final decrypted = encrypter.decrypt64('sOyElxUKoxK4EjTEJms7PE/VIpuxfqNqVPsQdEsuWMEJ60ArKBGlGpANOFDVD73o8y3iZbd8kgjyS9eABXiIxQ==', iv: iv);
print(decrypted);
return decrypted ;
}
The erorr :
Invalid or corrupted pad block
Note : "All the data I entered is correct, yet this error appears." .
The text was updated successfully, but these errors were encountered: