Consider the code in Table 11.5, which is susceptible to a linearization attack. Suppose that we modify the program as follows:
Note that we are using the library function stremp to compare the input string to the actual serial number.
a. Is this version of the program immune to a linearization attack? Why or why not?
b. How is stremp implemented? That is, how does it determine whether the two strings are identical or not?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here