added encryption scheme for iOS objc