-
-
Notifications
You must be signed in to change notification settings - Fork 16
Global Scramble Key
The global scramble key is used to obscure the plain value of a key, the same way a user scramble key does.
The global scramble key can be any value and any of the various supported types. It can be accessed via the setscramblekey / getscramblekey methods.
This scramble key can be handy for use across an entire project, for example, when the requirement does not include the need to set scramble keys for individual read and write operations. It applies equally to disk-based localStorage keys as well as Memory Key.
The default global scramble key is the BigInt 123456789n.
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