Replies: 2 comments 1 reply
|
Hi 👋 No, there are no functions for this.
This isn't possible in general. You could try to parse the encrypted data as an OpenPGP message, and see if that succeeds, but there's no way to know if decryption will succeed without trying it. |
1 reply
|
Could you explain how can I try to do the parsing without indeed decrypting. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello folks,
Hope all is good, am wondering if there are some functions ... that can help calculating approximately the encrypted data length based on the config ... or in other terms is there a way in order to validate that the encrypted data has not been corrupted without the need to decrypt.
Thanks in advance :-)
Cheers !
All reactions