Skip to content

Is symmetric encryption in kryptor authenticated? #66

Closed Answered by samuel-lucas6
ahnedeee asked this question in Q&A
Discussion options

You must be logged in to vote

Is symmetric encryption in kryptor authenticated?

Yep, ChaCha20-Poly1305 is used. You can find more detail here.

Will there be an error thrown if the symmetrically encrypted file has been tampered with?

Yes, decryption will fail with an error. Even if the file is modified in the last chunk, the rest of the decrypted file will be deleted from disk.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ahnedeee
Comment options

Answer selected by samuel-lucas6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants