added workaround for decrypting on Android devices