05-06-2011 07:23 AM
hi, I am trying to encrypt the data which is communicated from my playbook device to the server and also encrypting and decrypting the data stored in the sqlite database.......can anyone tell me which would be the most efficient and secure algorithm to do so.........
some sample walkthroughs would be very appreciated.......
05-06-2011 07:42 AM
The AIR API already includes a way to encrypt local SQLite databases.
You can find good tutorials at the following urls:
Playbook App: Car Crash
05-06-2011 12:39 PM
05-07-2011 04:29 AM
My basic need is to encrypt the password and user id (entered by the user) and send the encrypted data to the server(using https).....how do i achieve this....I am able to encrypt the database but this is a completely different issue....plz help
05-07-2011 06:19 PM
05-09-2011 03:22 AM
I am able to encrypt and decrypt the data using aes encryption algorithm.....But it does not work if yhe key size is less than 7 characters(gives this error:" Property -4 not found on flash.utils.ByteArray and there is no default value.") and the text to be encrypted ic less than 16 characters(gives this error:The supplied index is out of bounds). the code for encryption is::
//define the encryption key var key:ByteArray =Hex.toArray("1234567"); //put plaintext into a bytearray var plainText:ByteArray = Hex.toArray(Hex.fromString(txtInput.text)); //set the encryption key var aes:AESKey = new AESKey(key); //encrypt the text aes.encrypt( plainText );