fully changed to android encryption.