.unshufflestring - macmcmeans/localDataStorage GitHub Wiki

localDataStorage.unshufflestring( 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 safeget.

Both the string and keyName arguments must be a string value. The seed can be any value and any data type. All three arguments must be the same ones that were used to shuffle the string: the original string cannot be retrieved otherwise.

This method unshuffles, or resets a a mixed string.

✨ The complement to this is shufflestring.