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.

Last NameFirst NameSocial Security
Doe1John1
Doe2John2
Doe3John3
Doe4John4
Doe5John5
Doe6John6
Doe7John7
Doe8John8
Doe9John9
Doe10John10
Doe11John11
Doe12John12
Doe13John13
Doe14John14
Doe15John15
Doe16John16
Doe17John17
Doe18John18
Doe19John19
Doe20John20
Doe21John21
Doe22John22
Doe23John23
Doe24John24
Doe25John25
Doe26John26
Doe27John27
Doe28John28
Doe29John29
Doe30John30