1. An encryption key setting method, comprising: inputting a code string; selecting a generating procedure for generating a code string from a plurality of generating procedures that were previously set; generating a code string using the code string inputted in said inputting based upon the generating procedure selected in said selecting; and setting the code string generated in said generating as an encryption key.