Provides transparent, secure 256-bit AES encryption of SQLite database files.
To access this module from JavaScript, you would do the following:
var EncryptedDatabase = require("appcelerator.encrypteddatabase");
The EncryptedDatabase variable is a reference to the Module object.
This module inherits from Titanium.Database, and has the same methods and properties. It also has the following property and methods:
The password to use when opening or installing databases. After setting this, any subsequent calls to "open" or "install" on this module will be encrypted. Defaults to the current application's GUID, as defined in the tiapp.xml.
Synonymous with setting the "password" property to a value.
Synonymous with getting the "password" property.
See example.
Dawson Toth
View the change log for this module.
Please direct all questions, feedback, and concerns to info@appcelerator.com.
Copyright(c) 2010-2013 by Appcelerator, Inc. All Rights Reserved. Please see the LICENSE file included in the distribution for further details.