<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _setPrivate(self, private):
 """This is here to make testing easier"""

        self.private = private
        self.public = pow(self.generator, self.private, self.modulus)