Using a database to store details of the key, the information in the database being used for the generation of the profile of the key