Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by demerphq (Chancellor)
on Dec 08, 2002 at 23:20 UTC ( [id://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 ;-)

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re^4: What A Wonderful World: Bitmasks!
by ikegami (Patriarch) 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://218405]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-24 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found