Question: Searching for a secure encryption function, you find a GitHub repo with three implementations: A, B, and C. The documentation in the repo tells
Searching for a secure encryption function, you find a GitHub repo with three implementations: A, B, and C. The documentation in the repo tells you that only one of the implementations is secure - the other two are not! All three implementations are obfuscated, so you cannot tell which one is secure by examining the source. However, each implementation has a documentation sentence: A's documentation "This implementation (A) is not secure." B's documentation "This implementation (B) is not secure." C's documentation "If implementation B is not secure, then implementation A is not secure." Unfortunately, the documentation in the repo also tells you that only one documentation sentence is true the other two are false! Which implementation is the secure one? (Not necessarily the one whose documentation sentence is true!) Justify your answer by considering each possibility for which implementation is the secure one, and showing which of the sentences would be true in each case. Only one possibility should match the description above.
Step by Step Solution
3.44 Rating (151 Votes )
There are 3 Steps involved in it
Assuming A is secure Of the given 3 statements only 1 should be correct A A is not secure FalseWe ha... View full answer
Get step-by-step solutions from verified subject matter experts
