add crypto environment for part II