-
-
Notifications
You must be signed in to change notification settings - Fork 16
.shufflestring
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.
Array Keys:
push / pull, pullall poke contains where
Broadcasting:
broadcast
Data Transfer:
import / export
Duplicates:
countdupes, showdupes, listdupes
Internals:
cancrunch crunch / uncrunch
shufflestring / unshufflestring
Management:
keys
Memory Consumption:
Memory Quota:
showquota
Query:
haskey, hasval, hastype
setscramblekey / getscramblekey
Type Check:
isarray isbigint isboolean iscrunch
isdate isfloat isinteger isnull
Utility:
chopget copy softset rename
_set / _get _clear _key _remove
Management:
_keys
Type Check:
_isarray _isbigint _isboolean _iscrunch