• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need XOR solution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need XOR solution


  • Subject: Re: Need XOR solution
  • From: Andy Wylie <email@hidden>
  • Date: Tue, 06 Aug 2002 18:38:20 +1200

on 6/8/02 10:45 AM +1200: Marc K. Myers wrote:

> Does anyone know of a reasonably fast way to XOR blocks of data together?
>
> I'm working on an AppleScript implementation of a one-time pad
> crytography system. Right now I'm XORing the plaintext against the key
> using the "Bits & Bytes" osax, which requires me to convert each byte
> from each file to its ASCII number equivalent, run the "bitwiseXOR"
> command on it, and then convert the result to its ASCII character
> equivalent. This kind of logical data manipulation is so basic that
> there's *got* to be a better approach than that! I would appreciate it
> if someone could point me in the right direction.
>
Akua...

the list made by the xor of list {1, 2, 3} with list {4, 5, 6}
--> {1, 2, 4, 5}

I've no idea how it performs beyond that.

_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Need XOR solution
      • From: Andy Wylie <email@hidden>
References: 
 >Need XOR solution (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Re: Filemaker text formatting
  • Next by Date: RE: Regarding Power macG4 (DSP/Dual Processors)
  • Previous by thread: Need XOR solution
  • Next by thread: Re: Need XOR solution
  • Index(es):
    • Date
    • Thread