Updating encryption algorithm.

Change-Id: Iaee3486a4749a347210ed1fced7e7d37e5c4c6b9