Устройство относитс к электронны замкам. Известен ключ дл электронно-кодо вого замка, содержащий электрический разъем, к одному контакту которого подключен блок сравнени кода соответстви , соединенный одним входом с первым вь ходом блока управлени ключом, а другими входами - с выхода ми блока пам ти кода соответстви и входом накопительной установки, к другому контакту подключен первый вх блока управлени , к второму входу ко торого подключен -вход начальной уста новки, третий контакт подключен к вы ходу блока считывани кода ключа, первый вход которого соединен с вторым выходом блока управлени , второй вход соединен с входом начальной установки , остальные входы соединены с выходами блока пам ти кода ключа 1.Недостатком известного ключа вл етс низка секретность. Цель изобретени - повьтение секретности . Поставленна цель достигаетс тем что ключ дл электронно-кодового зам ка, содержащий электрический разъем, к одному контакту которого подключен блок сравнени кода соответстви , соединенный одним входом с первым выходом блока управлени ключом, а другими входами - с выходами блока пам ти кода соответстви и входом начальной установки, к другому контакту подключен первый вход блока управлени , к второму входу которого подключен вход начальной установки, .третий контакт подключен к выходу блдка считывани кода ключа,первый вход которого соединен с вторым входом бл ки управлени , второй вход соединен с входом начальной установки, осталь ные входы соединены с выходами блока пам ти кода ключа, содержит генератор , первый и второй элементы И, триггер и счетчик, причем первый вход первого элемента И соединен с выходом генератора, второй вход - с первым выходом счетчика, третий вход - с выходом триггера, а выход - с первыми входами счетчика, второй вход которого соединен с входом начальной установки, а второй выход - с первым входом второго элемента И, выход которого соединен с блоком управлени ключом, а второй вход - с выходом . блока сравнени кода соответстви , соединенного так же с первым входом триггера, второй вход которого соединен с входом начальной установки. На чертеже изображена функциональна схема устройства. Предлагаемое устройство состоит из разъема 1, блока 2 сравнени , блока 3 управлени ключом, блока 4 пам ти кода соответстви , блока 5 считывани кода ключа, блока 6 пам ти кода ключа, генератора 7, первого 8, второго 9 элементов И, триггера 10 и счетчика 11. Устройство функционирует следующим образом. При подаче питани в ключ триггер 10 устанавливаетс в 1, счетчик 11 , а блоки 2, 3 и 5 - в исходное состо ние сигналов импульса начальной установки (на схеме не показан). С первого выхода счетчика 11 и выхода триггера 10 на элемент И 8 поступают разрешающие сигналы и импульсы от генератора 7 импульсов, а с выхода элемента 8 И сигналы поступают на счетчик 11. С первого выхода счетчика 11 на вход элемента И 9 поступает запрещающий сигнал - О. При поступлений кода соответстви на вход блока 2 и тактовых импульсов на вход разъема 1 производитс прием кода и сравнение его в блоке 2 сравнени кода соответстви с кодом, хран щимс в блоке 4 пам ти кода соответстви . Если сравнение произошло, то блок 2 сравнени кода соответстви формирует сигнал, который поступает на вход триггера 10 и вход элемента И 9. Если момент поступлени сигнала с выхода блока 2 сравнени кода соответстви наступает позже момента формировани на выходе счетчика 7 сигнала разрешени , т.е. момента установки в 1 старшего разр да счетчика 7, причем сигналом с второго его выхода происходит блокировка поступлени импульсов от генератора 7 импульсов, то сигналом с выхода элемента И 9 происходит переключение блока 3 управлени ключом, которьй запускает по первому входу блок 5 считывани кода ключа. Затем по сигналам блока 3 управлени ключом производитс последовательна вьщача кода ключа с выхода блока 5 считывани кода ключа на выход устройства. Если момент поступлени сигнала с выхода блока 2 сравнени наступает во врем присутстви на первом выходе счетчика 11 запрещающего сигн ла, то это состо ние сохран етс неограниченное врем , так как тригге 10 устанавливаетс в О и происходит блокировка поступлени импульсов от генератора 7. На выходе элемента И 9 не имеетс сигнала разрешени и код ключа на выход устройства не выд етс . В случае несравнени прин того кода и кода соответстви несмотр на то, что в некоторый момент времени с первого выхода счетчика 11 поступает разрешение, код ключа на выход устройства не вьщаетс , так как сигнал на выходе блока 2 сравнени отсутствует , и в блок 3 управлени ключом сигнал, переключающий его на вьщачу taKTOBbix импульсов в блок 5 считыва;Ни кода ключа, не поступает. Очередной ввод кода соответстви возможен только после отключени питани от устройства и последующего его включени дп установки устройства в исходное состо ние (в частности дл разблокировки блока 3 управлени ключом, обеспечивающего разрешение выдачи определенного количества тактовых импульсов в блок 2 сравнени кода соответстви и в блок 5 считывани кода ключа и сброса счетчика 11 в нулевое состо ние). Таким образом в предлагаемом устройстве производитс контроль скорости ввода кода соответстви , т.е. в устройстве нар ду с таким параметром защищенности, как код соответстви , который предназначен дл защиты ключа, присутствует дополнительньй параметр защищенности - гранична скорость ввода кода соответстви , что определ ет повышение секретности по сравнению с прототипом.The device relates to electronic locks. A key is known for an electronic-code lock containing an electrical connector, to one contact of which a matching code comparison unit is connected, connected by one input to the first turn of the key control unit, and the other inputs from the outputs of the memory block of the matching code and the input of the accumulative installation The first I of the control unit is connected to another contact, the second input of which is connected is the input of the initial setup, the third contact is connected to the output of the key code reading unit, the first input of which is connected to the second output ohm control unit, a second input coupled to the input of the initial installation, the other inputs are connected is a low secrecy with the outputs of memory 1.Nedostatkom known key code key. The purpose of the invention is to increase secrecy. The goal is achieved by the fact that a key for an electronic code lock containing an electrical connector, to one contact of which a matching code comparison unit is connected, connected by one input to the first output of the key control unit, and the other inputs to the outputs of the memory block of the matching code and input the first installation is connected to another contact; the first input of the control unit, to the second input of which the installation input is connected, the third contact is connected to the output of the key code read terminal; the first input is o is connected to the second input of the control unit, the second input is connected to the input of the initial installation, the remaining inputs are connected to the outputs of the key code memory block, contains the generator, the first and second And elements, the trigger and the counter, and the first input of the first And element is connected to generator output, the second input - with the first output of the counter, the third input - with the trigger output, and the output - with the first inputs of the counter, the second input of which is connected to the input of the initial installation, and the second output - to the first input of the second element And, the output of which is connected to bl com control key, and the second input - to the output. block comparison code matching, also connected with the first input of the trigger, the second input of which is connected to the input of the initial installation. The drawing shows a functional diagram of the device. The proposed device consists of connector 1, comparison unit 2, key management unit 3, correspondence code memory block 4, key code reading unit 5, key code memory block 6, generator 7, first 8, second 9 And elements, trigger 10 and counter 11. The device operates as follows. When the power is supplied to the key, the trigger 10 is set to 1, the counter 11, and the blocks 2, 3 and 5 to the initial state of the signals of the initial setup pulse (not shown in the diagram). From the first output of the counter 11 and the output of the trigger 10, the element And 8 receives the enabling signals and pulses from the pulse generator 7, and from the output of the element 8 And the signals go to the counter 11. From the first output of the counter 11 to the input of the element 9, the inhibit signal - O When a matching code arrives at the input of block 2 and a clock pulse at the input of connector 1, the code is received and compared in block 2 of the matching code comparison with the code stored in block 4 of the matching code memory. If a comparison has occurred, then the correspondence code comparison unit 2 generates a signal that is fed to the input of the trigger 10 and the input of the AND element 9. If the moment of arrival of the signal from the output of the correspondence code comparison unit 2 occurs after the output signal of the resolution 7 counter, i.e. . the moment of setting 1 high bit of the counter 7, and the signal from its second output blocks the receipt of pulses from the pulse generator 7, then the key control unit 3 switches over the key input unit with the signal from the output of element 9 and 9 starts the key code reading unit 5 on the first input. Then, according to the signals of the key management unit 3, a key code is sequentially outputted from the unit 5 of the key code reading to the device output. If the moment of arrival of the signal from the output of the comparator unit 2 occurs during the presence of the prohibitory signal on the first output of the counter 11, this state is maintained indefinitely, since the trigger 10 is set to O and the receipt of pulses from the generator 7 is blocked. And 9 there is no permission signal and no key code is output to the device. In case of incomparison between the received code and the correspondence code, despite the fact that at some time from the first output of the counter 11 the resolution is received, the key code does not appear at the output of the device, since the output signal of the comparison unit 2 is absent, and in the key control unit 3 the signal that switches it to taKTOBbix pulses in block 5 is read; no key code is received. The next entry of the compliance code is possible only after disconnecting the power from the device and then turning it on to set the device back to its initial state (in particular, to unlock the key management unit 3, allowing the issuance of a certain number of clock pulses in the matching code comparison unit 2 and in the read unit 5 key code and reset of counter 11 to the zero state). Thus, in the proposed device, the rate of entry of the correspondence code is controlled, i.e. In the device, along with such a security parameter as the compliance code, which is intended to protect the key, there is an additional security parameter - the limit speed of entering the compliance code, which determines the increased secrecy compared to the prototype.