Xor Cipher

Hello!

To view this page you need Microsoft Silverlight 3 plug-in.
Silverlight will enable your browser to understand complex Rich Internet Applications.
After installing (~10 seconds), you will be able to view and execute live algorithms.

Click here to download the plugin directly from Microsoft (4 MB)
If you want to learn more about MS Silverlight, take a look at this Wikipedia article.
Output
type in the input above and click 'Execute'
the result will be outputted here
Related Algorithms
Discussion
4
Why array? i'm sure you can make this for text. Like converting a string to an array, then XOR it with the key. Key is also a string (array of characters).
30 months and one week ago by ANaimi
Yeah, I know. Would need to make the same stuff twice though, once for encryption once for decryption as I can't output it in text form as depending on the values they can be outside the range for displayable characters for the browser -- though they are always under double the larger number. Of course to use a simple ascii conversion / two algorithms instead would be easy enough if it concerns you. I won't fix it now though as I have to go, will consider later.
30 months and one week ago by bh3
Oh forgot to ask, concern hit me since I have been so far careless occasionally with reusing import vars. This language treats them as copies and not references as they are imported right? (if not I will need to be more careful not to mess them up).
30 months and one week ago by bh3
Nifty -- seems either I overlooked it before or since this entry you added a method to do bitwise functions, thank you for that (they can be handy in some situations).
30 months and 4 days ago by bh3
login to leave a comment
Version 1
Version 1 by bh3
+2
Accepts and outputs numbers (can use ascii values for both to encrypt text). Performs an xor operation with the key and text to generat encrypted code. Especially weak cipher, but in most langauges (due to native xor support) generally fast and easy to impliment.
By bh3
30 months and one week ago
up down

implementations

one version available

rated by

2 users - list?

viewed by

8 users - list?

favorited by

0 users - list?

last activity

27 months and 6 days ago