[Question][Hw2] Where does the LengthError get used? #686
Replies: 6 comments
-
If you implement enc/dec well, LengthError will not be raised. However, |
Beta Was this translation helpful? Give feedback.
-
Then even though we were not provided with a sample test case regarding oracle itself, there could be tests about oracles while grading? |
Beta Was this translation helpful? Give feedback.
-
Hidden test cases are hidden :D |
Beta Was this translation helpful? Give feedback.
-
If we get full score on gradescope, does that include the hidden cases? |
Beta Was this translation helpful? Give feedback.
-
@tanapthetimid yes |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Name: Jaewoo Ahn
In type result, we have LengthError case where the length of the input line of oracle is not a multiple of block size.
But in my implementation of crack and padding oracle attack, I did not have any use for LengthError, since all the ciphertexts given would have been padded correctly.
Is there some test cases for the oracle itself where LengthError will be used?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions