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.
Required fields*
- Thanks a lot. I will have a look at source code. However, regarding answer two, how would it cover 448 Bytes of encryption, if the XTS modes operates on data units of 512 Bytes which are divided in 128 Bytes block. (source: truecrypt71a.com/documentation/technical-details/…)BinomialBear– BinomialBear2024-11-16 08:06:24 +00:00Commented Nov 16, 2024 at 8:06
- @BinomialBear: AES-XTS supports arbitrary input length, and that’s really the whole point of the mode. The “S” stands for “Ciphertext Stealing”: If the last plaintext block is shorter than the block size, then XTS “steals” part of the previous ciphertext block and appends it to the plaintext, so that the plaintext length is always a multiple of the block size. See this diagram for a good visualization.Ja1024– Ja10242024-11-16 08:52:47 +00:00Commented Nov 16, 2024 at 8:52
- Ok, thanks a lot for pointing that out. I really struggled understanding it before. Finally, I can continue working on my project and incorporate what you just taught me. Have a good day then.BinomialBear– BinomialBear2024-11-16 11:19:45 +00:00Commented Nov 16, 2024 at 11:19
Add a 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>
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. web-application), 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