I am using an encrypted local database.
When using com.adobe.air.crypto.EncryptionKeyGenerator, it requires the following:
The password must be a strong password. It must be 8-32 characters long. It must contain at least one uppercase letter, at least one lowercase letter, and at least one number or symbol.
I was looking to use SHA1 to hash a password from the User's ID. ( ID is from a remote database )
Is there any way to force SHA1 to produce a hash with at least one uppercase as required by EncryptionKeyGenerator?
I do not want the User to have to use their login password as it might change. Nor do I want to force them to input another password just for the local DB.
Yes, I could generate a random string utilizing the ID but this would not be retrievable if the encrypted was lost.
Using SHA1 I could always recreate the same key based on the User's ID in the remote database.
Other suggestions welcome as well.
Retrieving data ...