.shufflestring - macmcmeans/localDataStorage GitHub Wiki
localDataStorage.shufflestring( string, seed, keyName )
This is a helper method that provides a window into the internal logic used by data scrambling. This logic is employed, for example, when calling safeset.
Both the string and keyName arguments must be a string value. The seed can be any value and any data type.
This is a modified shuffle that adds a small amount of noise to the string. When the shuffle is combined with xoring the value, the resultant obfuscation is fairly robust.
✨ The complement to this is unshufflestring.