The idea is really simple. All you do is convert the string of characters to an array of numbers and add a constant value N to each element. Then if the resulting character value is either greater than 256 (the maximum ASCII value) or less than zero you modify the value to bring it back into range. Finally you convert the modified array of numbers back into a string and you're done.
To unscramble your string run it through the VI again using the negated value of the number you used originally. For example, of you did your original scrambling by using 24, unscramble using -24.
Attached is a VI I created for performing this function.
Mike...
PS: Any number between 0 and 255 will work. And don't use 13. That would be the first on
e everyone would try. Also, security will be marginally better if the password is a random series of letters and not a real word.