A method for operating a security system which includes at least one electronically codable releasable lock having a random generator therein, electronically codable keys, and an electronically codable central key having an additional identification information therein characterizing it as a central key, comprising the steps of:
- providing said lock and said keys with binary codes;
- coupling a key with said lock and determining whether or not the present codes are coincident and, therefore, whether the key is proper or improper;
- employing said random generator to provide the coupled key and lock with new coincident codes, if said present codes are coincident and the key is proper and subsequently effecting release of said lock;
- preventing provision of new coincident codes and preventing release of said lock, if said present codes are not coincident and the key is improper;
- and coupling said central key with said lock to enable said random generator after identification as a proper central key and providing it with a new coincident code to be actuatable to provide new codes to said key and/or said lock, when a subsequent key is coupled with said lock, whereby said lock and an improper key provided with a present non-coincident code can be provided with a new coincident code and become a proper key, whereas an originally proper key provided with a present coincident code is rendered non-coincident and improper and unusable in said lock by one-sided feeding of the new codes or by erasing the present codes in the key or the lock.