Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b = bytearray()
- b += struct.pack("B", 1) # mnk version.
- b += sshtype.encodeMpint(self.e)
- b += sshtype.encodeMpint(self.n)
- b += sshtype.encodeMpint(self.d)
- b += sshtype.encodeMpint(self.p)
- b += sshtype.encodeMpint(self.q)
- return b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement