steel_crypt icon indicating copy to clipboard operation
steel_crypt copied to clipboard

Speed

Open eurovisionfanatic opened this issue 2 years ago • 0 comments

Hi, First I want to say thanks so much for your library, it has made me life so much easier and is much more stable than any of the other libraries I have tried. I was just wondering if there was anyway of increasing the speed of encryption, I am building a desktop application that is required to encrypt files (up to 1GB) and currently using the library for a 50 mb file takes a tad over a minute which is significantly longer than something like GPG. Is there anyway of speeding this up? My current encryption line is as follows using a 32 byte key

  var result = await aes.gcm.encrypt(inp: base64Encode(message), iv: iv16);

Thanks

eurovisionfanatic avatar Jul 31 '22 05:07 eurovisionfanatic