Question

2. Find 11644 mod 645 Use the following algorithm and show work! procedure modularExponentiation(b: integer, n...

2. Find 11644 mod 645 Use the following algorithm and show work!

procedure modularExponentiation(b: integer, n = (ak-1ak-2...a1a0)2, m:positive integer)
x:= 1
power := b mod m

for i = 0 to k-1
    If ai = 1 then x:= (x⋅power) mod m
    power := (power⋅power) mod m
return x ( x equals bn mod m)


Note: in this example m = 645, ai is the binary expansion of 644, b is 11.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given doda Ymo eo 6 210L a, 40 m 1686s

Add a comment
Know the answer?
Add Answer to:
2. Find 11644 mod 645 Use the following algorithm and show work! procedure modularExponentiation(b: integer, n...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT