obtenir un code correspondant à la clé choisie et au mot tapé