-
-
Notifications
You must be signed in to change notification settings - Fork 16
User Scramble Key
A user scramble key obfuscates the true value of a key and must be explicitly set with each method requiring it, such as safeset and safeget. The default global scramble key will be used in data obfuscation methods where the user scramble key is not explicitly declared.
While key values are treated as strings and stored accordingly in localStorage, with localDataStorage a key value can be one of many types. Likewise, a user scramble key can be an Array, BigInt, Boolean, Date, Float, Integer, Null, Object or... a typical String type.
User scramble keys are neither stored nor recorded, while the global scramble key is accessible and stored in the API.
Any key's value that was obfuscated with a scramble key can only be retrieved using the same key, and if lost or forgotten, cannot successfully be retrieved at all.
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