Skip to content
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

Speed #52

Open
eurovisionfanatic opened this issue Jul 31, 2022 · 0 comments
Open

Speed #52

eurovisionfanatic opened this issue Jul 31, 2022 · 0 comments

Comments

@eurovisionfanatic
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant