Edit cookie to encrypt total value