Location: A review of cardiac cellular electrophysiology models @ f954e5918331 / dojo-presentation / js / dojo / dojox / sql / demos / customers / customers.html
- Author:
- David Nickerson <david.nickerson@gmail.com>
- Date:
- 2021-09-16 00:41:19+12:00
- Desc:
- Updating Noble 1962 model: * Exposing the membrane potential to the top-level model; * adding SED-ML for the paced and pacemaker variants of the model. Using OpenCOR Snapshot release 2021-09-14.
- Permanent Source URI:
- https://models.fieldml.org/workspace/a1/rawfile/f954e59183314cd37f86c8832dc81317d01c8ec5/dojo-presentation/js/dojo/dojox/sql/demos/customers/customers.html
Dojo SQL Cryptography
Instructions
This demo shows Dojo Offline's SQL encryption technologies. In the table below, we have a sample SQL table that has three columns of data: a last name, a first name, and a social security number. We don't want to store the social security numbers in the clear, just in case they are downloaded for offline use to a laptop and the laptop is stolen.
To use this demo, enter a password and press the ENCRYPT button to see the Social Security column encrypt. Enter the same password and press DECRYPT to see it decrypt. If you enter an incorrect password and press DECRYPT, the Social Security column will remain encrypted and only show gibberish.
Under the covers we use 256-bit AES encryption and your password to derive the crypto key; we use a facility in Google Gears to do the cryptography in such a way that the browser does not lock up during processing. Dojo Offline ties this cryptography into Dojo SQL, providing convenient ENCRYPT() and DECRYPT() SQL keywords you can use to easily have this functionality in your own offline applications. To learn how you can use this feature see here.