localStorageEncryption

Description

Fires before data are written to Local Storage. e.data is passed into the event handler. Your code can encrypt the data and set the e.data property to the encrypted value. If you encrypt the data here, you must define a corresponding decrypting function in the localStorageDecryption function.

Parameters

data