Master 47 Cyber Security interview questions covering threat analysis, incident response, and security frameworks.
Question 10 of 47
How to Answer
Example Answer
Example Answer 2
Why the Interviewer Asks This Question
Community Answers

Tom Dushaj is a business and technology executive and the author of 'Resumes That Work.' Tom has vast experience providing solutions to Fortune 500 companies in the areas of Information Technology Consulting, ERP Software, Personnel Management, and Intern
Let's start with what these two entities mean. ECB (Electronic Code Book) is basically raw cipher. You have a block that needs to be encrypted as an output. If you don't encrypt the block, it might appear as ciphertext. CBC (Cipher Block Chaining) is essentially an initialization vector; it converts plaintext to ciphertext. These methods of operational configuration allow those ciphers to work with large data streams without the risk of compromising security.

Tom Dushaj is a business and technology executive and the author of 'Resumes That Work.' Tom has vast experience providing solutions to Fortune 500 companies in the areas of Information Technology Consulting, ERP Software, Personnel Management, and Intern
"Anytime that I need to encrypt blocks of data in ECB mode, I can always use many threads simultaneously, but I always encrypt plaintext blocks separately for security purposes. The difference between the two is that with CBC, I need to add XOR to each plaintext block to the block that was previously produced. With ECB it's the simplest mode of encryption. The result is then encrypted using a cipher algorithm in the usual way. CBC is a little different because the initialization vector needs to be created randomly by the sender."

Tom Dushaj is a business and technology executive and the author of 'Resumes That Work.' Tom has vast experience providing solutions to Fortune 500 companies in the areas of Information Technology Consulting, ERP Software, Personnel Management, and Intern
"When it comes to ECB and CBC data, I like to see if there may be encryption weaknesses using ECB mode encoding an image for example. If I don't use the proper protocols for encryption, the ECB mode cannot hide/blur the plaintext image. In cases like these, I would change the initialization vector after using the secret key a number of times. It's almost the same as needing to change your password on a regular basis. If the vector is used too many times, this would make the system vulnerable to plaintext attacks."

William Swansen has worked in the employment assistance realm since 2007. He is an author, job search strategist, and career advisor who helps individuals worldwide and in various professions to find their ideal careers.
Essentially, the hiring manager wants to know if you understand the differences between ECB and CBC, which deal with encrypting ciphertext. They'll ask questions similar to these; Are ciphertext blocks decrypted separately? Is it possible to encrypt and decrypt simultaneous threads? Other questions that may come up are how can an image be encrypted, what's the standard protocol to do so, or perhaps; What's the difference between ciphertext and plaintext? These are more advanced questions that will likely occur later in the interview, once the interviewer has confirmed your basic qualifications

Interview Coach
Jaymie
A real coach, not AI. I read every answer myself and write back with personalized feedback.
Typically responds within 24 hours.
0 - Character Count
Prepare for technical scenarios and security assessments that interviewers prioritize.
Get StartedJump to Question

Written by William Swansen
47 Questions & Answers • Cyber Security

By William

By William