?

Log in

No account? Create an account

Yay! - Journal of Omnifarious

Jul. 14th, 2003

08:57 am - Yay!

Previous Entry Share Next Entry

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\xe1{8\xc4\xa5J\\\xfa\xcc\x92v\xd3\xfe\t\x0b\x958xr\xb5\xf6\xb2\x98\xd5gb\x943!M\xa9\xab\xed\xf8&j\x17\x07\xa7+\x80\xb3\xcf\xd9\xe4Z\'\xacdw\xdf7\xcd\x84\x88\xcd\x94\xb8"_\x87\xb9i\xb8j5\xbb\xe1\xc9^\x8b\xfeD"R\x82\xaa\xfe\xa1\x19\x00\xb8{\xdbJ\xf5\x95\x0b\xa4\xdc\xca;\xeda\x80q\xc0\x90\x1d\xbck\xe7\x16R\xdb\xf2\x83\x06\xed\x88\x97f\x88e\xda\xe8\x04\x9b\x7f[\xcf\x02\x8c\x9c\\\x1c~pB\xe0\xc7\x84\xef\xe5\x9dT\x0b\x11\x9f\x00\xf4C4\x02\xf2r\x8d\xfc\xf2\xdf27\xd6\x0b3F}\x0f\x8f\xf6\xde\xe0M\xec\xc4cx-\r\xba\xae\x066\xdfU\xbf\xed\nJF\xb1\xf4\tlz\xa8\x18\x15P\x0f*\xca\x98\xc6\x11\x03\xa1\xb1\xc2\xeb3\xfc\x014?sy`K\xcf\xd1W\x87?^x\x96\xc2\xab:\x11\xf6\xba\x81\xc5\x91>\x83\xf7\xc6\xa6\x0e\x9c\xc0X\xf8\x124\xd6)\x1f\xc8\x9d\x0fB\xee\xec\n>c\xd8\xd3\xbf\x02\xe6\x07['
>>> decryptMessage(privk, m2)
'Fred Flintstone'

Working cryptography. I'm quite pleased with myself now. :-)

Current Mood: [mood icon] accomplished

Comments:

[User Picture]
From:elizabetta1
Date:July 14th, 2003 08:18 am (UTC)
(Link)
I think I need a shot for this one...*giggles* This was fun and verrrry interesting.

LOL
Have a good one Hun~
e'bet'ta
(Reply) (Thread)
From:(Anonymous)
Date:July 14th, 2003 03:47 pm (UTC)
(Link)
(Reply) (Thread)
[User Picture]
From:omnifarious
Date:July 14th, 2003 03:50 pm (UTC)

Re: Let me guess

(Link)

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. :-)

(Reply) (Parent) (Thread)