Streaming decryption consumes too much memory in browser (React) #1614
Answered
by
twiss
sumitsahoo
asked this question in
Q&A
-
I am using OpenPGP library to encrypt and decrypt a file inside a React component. Encryption works as expected with stream and consumes less memory but decryption takes too much memory. File size that I am trying is 2GB. Below is the code sample with encryption and decryption functions. The encryption type is symmetric with password.
|
Beta Was this translation helpful? Give feedback.
Answered by
twiss
Mar 17, 2023
Replies: 1 comment 1 reply
-
Hey 👋 There's multiple issues here:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sumitsahoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 👋 There's multiple issues here:
allowUnauthenticatedStream
config option.