Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: What A Wonderful World: Bitmasks!

by demerphq (Chancellor)
on Dec 08, 2002 at 23:20 UTC ( #218405=note: print w/replies, xml ) Need Help??

in reply to Re: Re: What A Wonderful World: Bitmasks!
in thread What A Wonderful World: Bitmasks!

Excellent node. I completely forgot to cover the operators.

One thing id like to add however is that your comment about XOR being the basis of simple encryption, while being true, should not be emulated. XOR based cyphers are particularly vulnerable to being cracked. Also, the most common use of XOR is right in front of everybodys eyes: graphics.

--- demerphq
my friends call me, usually because I'm late....

  • Comment on Re: Re: Re: What A Wonderful World: Bitmasks!

Replies are listed 'Best First'.
Re: Re: Re: Re: What A Wonderful World: Bitmasks!
by tachyon (Chancellor) on Dec 09, 2002 at 00:34 UTC

    I suppose you don't like rot13 either ;-)




Re^4: What A Wonderful World: Bitmasks!
by ikegami (Pope) on Jun 22, 2005 at 05:12 UTC

    I think XOR is still at the base of modern symetric (i.e. private key) encryption algorithms. They create a stream which is XORed with the plaintext. The difference between the simple XOR encryption of which you are surely thinking and these better algorithm is that the stream these new algorithms create is not periodic.

    If I remember correctly, one end of an HTTPS connection uses public key encryption to distribute a private key to its peer, and then they switch to symetric (private key) encryption. It does this because symetric is faster, and XOR surely plays a part in that.

    Feel free to correct me. This subject is far from fresh in my mind.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://218405]
NodeReaper writes the same droll phrase again

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2017-12-17 01:14 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (459 votes). Check out past polls.