-
Notifications
You must be signed in to change notification settings - Fork 197
Proof-read PR387 #411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proof-read PR387 #411
Conversation
like a :term:`stream cipher`. These configurations are commonly called | ||
:term:`mode of operation`\s. They aren't specific to a particular block cipher. | ||
like a :term:`stream cipher`. These configurations are known as | ||
:term:`mode of operation`\s. They are not specific to a particular block cipher. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lvh ,
"They are not specific..."
Can this change to note that different modes are available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure i understand, can you elaborate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"They are not specific to a particular block cipher."
Are you trying to say different modes of operations can be applied to block ciphers other than AES?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to say that modes of operation (I don't count e.g. AEZ as a real mode of operation) are defined independently of block ciphers. You can do AES-CBC, but also 3DES-CBC. I'm trying to say all modes of operation work on all block ciphers, with very few edge cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup that's how I understood it
What I didn't know is if the beginning word "They" is correctly representing mode of operations
or "These configurations" (from previous sentence)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, gotcha. The previous sentence just defines the name, so since "configurations" and "modes of operation" are the same thing I guess I don't see it as confusing, but if you want to replace the They
with "modes of operation" that's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense. I don't think it needs to be changed. Thanks for explaining.
@lvh , All your feedback are applied to this PR now |
src/stream-ciphers.rst
Outdated
Suppose there is a database storing secret user information, like medical, | ||
payroll or criminal records. The server protects the information by encrypting | ||
it with a strong block cipher in :term:`CBC mode` with a fixed key. For now, we | ||
assume the server is secure, and no way for a key leak. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"for the key to leak" seems better, I've never heard "key leak" in this sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated just now :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor tweak and then this is good to go
Looks great! Thanks! |
I have 4 things to note