Skip to main content
Participant
June 29, 2018
Answered

Can't use EncryptionKeyGenerator

  • June 29, 2018
  • 1 reply
  • 370 views

Hi!

I'm trying to encrypt a local DB in an Air Application. Using the example I found here: Working with the encrypted local SQLite database | Adobe Developer Connection

I use command line to compile the project and it seems I have to import the as3corelib but I just don't know how to. Can someone give an explanation on how to import that library to use EncryptKeyGeneration class?.

Thanks in advance,

Ale

This topic has been closed for replies.
Correct answer Flipline

You should be able to grab the as3corelib from github and use it in your project:

GitHub - mikechambers/as3corelib: An ActionScript 3 Library that contains a number of classes and utilities for working …

Click the green "Clone on download" button and choose "Download ZIP", then in the src folder, copy that "com" directory into your main project directory (or copy the "adobe" directory inside of that to your own "com" directory if your project already has one for your own code).

Once that's there, in your own code you should be able to do an import and start using it:

import com.adobe.air.crypto.EncryptionKeyGenerator;

1 reply

Flipline
FliplineCorrect answer
Inspiring
June 29, 2018

You should be able to grab the as3corelib from github and use it in your project:

GitHub - mikechambers/as3corelib: An ActionScript 3 Library that contains a number of classes and utilities for working …

Click the green "Clone on download" button and choose "Download ZIP", then in the src folder, copy that "com" directory into your main project directory (or copy the "adobe" directory inside of that to your own "com" directory if your project already has one for your own code).

Once that's there, in your own code you should be able to do an import and start using it:

import com.adobe.air.crypto.EncryptionKeyGenerator;