Author Topic: haha  (Read 3062 times)

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: haha
« Reply #1 on: December 03, 2007, 09:11:04 PM »
i didnt get it either
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Perspective

  • badfish
  • Jackass In Charge
  • Posts: 4635
  • Karma: +64/-22
    • http://jeff.bagu.org
Re: haha
« Reply #2 on: December 03, 2007, 10:55:18 PM »
XOR is a simple bitwise operation that computes the exclusive OR of bits in a sequence.

0 XOR 0 = 0
1 XOR 1 = 0
0 XOR 1 = 1
1 XOR 0 = 1

If M is a message (like the key you pressed) and K is a secret key (the byte negotiated during the handshake), then V = M XOR K is an encrypted version of M. V XOR K gives you M back. This is simple symmetric encryption.

<encryption lesson>
Symmetric encryption with a persistent key is easily crackable by observing enough messages, having a 256-bit key makes it even easier. Real messaging systems use public key encryption to negotiate a symmetric one-time key that is re-chosen for each message. That way the expensive public key encryption is only used on a small (~160 bit) key, instead of the entire message (slow!). Symmetric encryption is then used on the message (fast!), but the key is only used once so there can be no long term attacks.
</encryption lesson>


Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: haha
« Reply #3 on: December 03, 2007, 11:00:04 PM »
hmm, i totally got that on the first read. Good explanation spec =]
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?