Re: Need XOR solution
Re: Need XOR solution
- Subject: Re: Need XOR solution
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 06 Aug 2002 14:12:41 -0400
- Organization: [very little]
>
Date: Tue, 06 Aug 2002 21:37:09 +1200
>
Subject: Re: Need XOR solution
>
From: Andy Wylie <email@hidden>
>
To: <email@hidden>
>
>
on 6/8/02 6:38 PM +1200: i wrote:
>
>
> the list made by the xor of list {1, 2, 3} with list {4, 5, 6}
>
> --> {1, 2, 4, 5}
>
doh!
>
--> {1, 2, 3, 4, 5, 6}
>
>
it does work...
>
>
the list made by the xor of list {1, 2, 3} with list {3, 4, 5}
>
--> {1, 2, 4, 5}
Thanks for the suggestion, but I was looking to XOR "bitwise", not by
items in a list. Following a suggestion from has, I built my encryption
scheme around a 65,536 item (256 x 256) lookup table that contains every
case of XORing possible with 8-bit bytes. I used the "Bits & Bytes"
osax to build the table once, stored it as a file, and it is read into
both the encryption and decryption modules. If anyone's interested, the
scripts are posted at <
http://files.macscripter.net/ScriptBuilders/Utilities/One_time_pad.sit>.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[8/6/02 2:11:37 PM]
_______________________________________________
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.