bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
233 stars 122 forks source link

aes delay in procsess #148

Open mrtnetwork opened 2 years ago

mrtnetwork commented 2 years ago

Hi, I have a problem with the performance of the program in this package, when the cipher stream starts processing, the application Ui freezes, for example, scrolling does not work for a few milliseconds, it depends on the amount of data being encrypted, there is a solution to this problem has it. ? My problem with the future and compute isolate was not solved

   // start freezing
   final Uint8List _encrypt = ctr.process(_data);
//end

thanks

mrtnetwork commented 2 years ago

Sorry I closed it by mistake