For the babyrsa program, the example exponents and modulus you gave in the write-up don work for some large numbers. I.e., when I do encryption, then decrypt that, I don get back the original?
A. If you can figure out what is the smallest large number that doesn’t work then you’ll probably answer your own question. • Q. Where should the function mPower() go now that we’ve broken up the code from HW3 into separate files for HW4? A. Clearly, the computeRSA() method of a BabyRSA depends on the mPower() function, so mPower() belongs in the babyrsa module. • Q. My program crashes with a Segmentation fault or Bus error when I try to access vector elements with [ ]? A. You’ll want to make sure those elements exist before you access them. You can use vector’s resize() method to make the vector a specific size.