Is the size of the encrypted stream predictable? #1382
Answered
by
larabr
NickDarvey
asked this question in
Q&A
-
If I know the size of my const message = await openpgp.createMessage({ binary: inputStream });
const outputStream = await openpgp.encrypt({
message, // input as Message object
passwords: ['secret stuff'], // multiple passwords possible
format: 'binary' // don't ASCII armor (for Uint8Array output)
}); (From the README.) |
Beta Was this translation helpful? Give feedback.
Answered by
larabr
Jul 20, 2021
Replies: 1 comment 4 replies
-
Hi @NickDarvey , the output size depends on how the input stream was chunked, among other things, so I don't think there is a good way to predict this. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
NickDarvey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @NickDarvey , the output size depends on how the input stream was chunked, among other things, so I don't think there is a good way to predict this.