8000 Proof-read PR387 by dg-latacora · Pull Request #411 · crypto101/book · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 4 commits into from
Feb 5, 2021
Merged

Proof-read PR387 #411

merged 4 commits into from
Feb 5, 2021

Conversation

dg-latacora
Copy link
Contributor

I have 4 things to note

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.
Copy link
Contributor Author

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?

Copy link
Member

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?

Copy link
Contributor Author

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?

Copy link
Member

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.

Copy link
Contributor Author

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)

Copy link
Member

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

Copy link
Contributor Author

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.

@dg-latacora
Copy link
Contributor Author

@lvh ,

All your feedback are applied to this PR now

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.
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated just now :)

Copy link
Member
@lvh lvh left a 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

@lvh lvh merged commit a39b3fc into crypto101:master Feb 5, 2021
@lvh
Copy link
Member
lvh commented Feb 5, 2021

Looks great! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0