A device for the automatic reading of a plurality of codes by means of a key code exceptionally suitable for maintaining a plurality of codes secret and making them available with the introduction of a key code, comprises a plurality of drums adapted to rotate around an axis and a pl