Quick Fix for Android

Fix bug in using key for to encrypt/decrypt files.