Fully baking an individualized key into each car is certainly possible, but would require exquisite record keeping and distribution to allow dealers to create new keys to replace lost keys. So instead the individual code is generated based on some information about the car.