Invitation to Computer Science 8th Edition

Published by Cengage Learning
ISBN 10: 1337561916
ISBN 13: 978-1-33756-191-4

Chapter 8 - Exercises - Page 427: 2c

Answer

The final hash will be i

Work Step by Step

In step 1 we will replace each character by it's corresponding digit, so ti34pper will become 20 9 3 4 16 16 5 18 In next step we will add all these numbers, 20+9+3+4+16+16+5+18 = 91 Now we will calculate the remainder of 91 with 7 which is 0. Now we will add 1 to the remainder and mutiply the result by 9, which will become 9. Now we will reverse the digits but 9 will remain 9 only Now we will assign the letters to these digits so 9 will become i So the password will hash to i
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.