Set encryption key for the cookie