You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- $\begingroup$ Does having an attacker know only "which blocks have changed" necessarily imply vulnerability to known or chosen plaintext attacks? $\endgroup$ManRow– ManRow2020-11-04 03:26:47 +00:00Commented Nov 4, 2020 at 3:26
- $\begingroup$ It's more information than the attacker would get otherwise. In some cases this can be enough information for the attacker to get what they need, in other cases it can be completely harmless. $\endgroup$Paŭlo Ebermann– Paŭlo Ebermann2020-11-04 11:14:49 +00:00Commented Nov 4, 2020 at 11:14
- $\begingroup$ Interesting -- it sounds like it might depend on the "threat or attack model" that one might be trying to defend against too. $\endgroup$ManRow– ManRow2020-11-04 13:04:48 +00:00Commented Nov 4, 2020 at 13:04
- $\begingroup$ On a side note -- is the OP's cipher scheme essentially the same as merely doing $C_i = E_K(P_i \oplus (IV + i))$ but with an identical IV for every "version" of some file? Different files can have different IV's, but every 'version' of the same file gets encrypted (and overwritten) using the same IV as it had before. $\endgroup$ManRow– ManRow2020-11-04 13:27:13 +00:00Commented Nov 4, 2020 at 13:27
- $\begingroup$ @ManRow almost, it's $C_i = E_K(P_i \oplus E_K(IV + i))$. And the reuse of the IV is just what this question is about. $\endgroup$Paŭlo Ebermann– Paŭlo Ebermann2020-11-04 14:14:00 +00:00Commented Nov 4, 2020 at 14:14
| Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. public-key), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you