AES 256 GCM media file encryption performance issue
Hello, there
I am using AES 256 GCM algorithm to encrypt normal text message and media files. The issue is when I try to encrypt media file which has size 1 MB, it takes 1 to 1.5 min to encrypt it.
Would you help me out with this?
Same issue here. Maybe it is because of poor documentation, so we don't know how to encrypt and decrypt file efficiently. Please share your code if you solved this problem.
Same issue here. Maybe it is because of poor documentation, so we don't know how to encrypt and decrypt file efficiently. Please share your code if you solved this problem.
Hey, I have changed the algorithm for media file encryption. I have used AES CBC for it and it is efficient for media file encryption.
@coderGirl9796, thanks a lot! Changing to AES CBC worked great, significantly better. It's just left to wonder why some people tell that AES GCM is more efficient in some of issues of this package.
This was fixed in cryptography_flutter 2.1.0.