From an interactive Python session this morning:
>>> m2 = newMessage(pubk, "Fred Flintstone", prng)
>>> m2
'\xdf.\xa2Z\xcb\xc3\xb2\xf0aVe\x01\xb2J\x9aG\xbc\xd4%U.\xa56\x8dE\x92\xaa\xa8\xb3\x e1{8\xc4\xa5J\\\xfa\xcc\x92v\xd3\xfe\t\x 0b\x958xr\xb5\xf6\xb2\x98\xd5gb\x943!M\x a9\xab\xed\xf8&j\x17\x07\xa7+\x80\xb3\xc f\xd9\xe4Z\'\xacdw\xdf7\xcd\x84\x88\xcd\x 94\xb8"_\x87\xb9i\xb8j5\xbb\xe1\xc9^\x8b\x feD"R\x82\xaa\xfe\xa1\x19\x00\xb8{\xdbJ\x f5\x95\x0b\xa4\xdc\xca;\xeda\x80q\xc0\x9 0\x1d\xbck\xe7\x16R\xdb\xf2\x83\x06\xed\x 88\x97f\x88e\xda\xe8\x04\x9b\x7f[\xcf\x0 2\x8c\x9c\\\x1c~pB\xe0\xc7\x84\xef\xe5\x 9dT\x0b\x11\x9f\x00\xf4C4\x02\xf2r\x8d\x fc\xf2\xdf27\xd6\x0b3F}\x0f\x8f\xf6\xde\x e0M\xec\xc4cx-\r\xba\xae\x066\xdfU\xbf\x ed\nJF\xb1\xf4\tlz\xa8\x18\x15P\x0f*\xca\x 98\xc6\x11\x03\xa1\xb1\xc2\xeb3\xfc\x014?s y`K\xcf\xd1W\x87?^x\x96\xc2\xab:\x11\xf6\x ba\x81\xc5\x91>\x83\xf7\xc6\xa6\x0e\x9c\x c0X\xf8\x124\xd6)\x1f\xc8\x9d\x0fB\xee\x ec\n>c\xd8\xd3\xbf\x02\xe6\x07['
>>> decryptMessage(privk, m2)
'Fred Flintstone'
Working cryptography. I'm quite pleased with myself now. :-)
accomplished
LOL
Have a good one Hun~
e'bet'ta
Let me guess
Re: Let me guess
No, I encrypted the string 'Fred Flintstone' into a big pile of gobbedly gook and the decrypted it back into being 'Fred Flintstone'. :-)
Thing is, you could also use it to encrypt something for me, and only I would be able to decrypt it again. :-)
Re: Let me guess
I can see where encrypting 'Fred Flintstone' can be usefull.
I'm being obtuce.