How to encrypt/decrypt a string

There’s a pure-Xojo version of the RC4 algorithm here: