use algorithmatic.com's in-browser integrated-development-environment here. The IDE offers syntax-highlighting, realtime validation, syntax-autocompletion, autocompletion for external-calls, interpreter and basic debugging.
Account
signin
algorithmatic.com uses OpenID - that means you don't need to register, probably you already have an OpenID, you just need to enable it. Click here to sign in
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).
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.
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).
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).
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.