You can Hash it and store the hash, you can checksum it and store the checksum, you can alternately shift each chacter a set number of bits a different way, you can develop your own letter substitution matrix like the old decoder rings. or you can mask the
string with a key. You could use UUEncode or Base64Encode. Any of these ways will work.