KR0170964B1 - Encryption method of pn-key in cable television - Google Patents

Encryption method of pn-key in cable television Download PDF

Info

Publication number
KR0170964B1
KR0170964B1 KR1019950023359A KR19950023359A KR0170964B1 KR 0170964 B1 KR0170964 B1 KR 0170964B1 KR 1019950023359 A KR1019950023359 A KR 1019950023359A KR 19950023359 A KR19950023359 A KR 19950023359A KR 0170964 B1 KR0170964 B1 KR 0170964B1
Authority
KR
South Korea
Prior art keywords
bit
key
key data
data
bits
Prior art date
Application number
KR1019950023359A
Other languages
Korean (ko)
Other versions
KR970009366A (en
Inventor
장항진
Original Assignee
배순훈
대우전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 배순훈, 대우전자주식회사 filed Critical 배순훈
Priority to KR1019950023359A priority Critical patent/KR0170964B1/en
Publication of KR970009366A publication Critical patent/KR970009366A/en
Application granted granted Critical
Publication of KR0170964B1 publication Critical patent/KR0170964B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/09Arrangements for device control with a direct linkage to broadcast information or to broadcast space-time; Arrangements for control of broadcast-related services
    • H04H60/14Arrangements for conditional access to broadcast information or to broadcast-related services
    • H04H60/23Arrangements for conditional access to broadcast information or to broadcast-related services using cryptography, e.g. encryption, authentication, key distribution
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • H03K19/21EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/65Arrangements characterised by transmission systems for broadcast
    • H04H20/76Wired systems
    • H04H20/77Wired systems using carrier waves
    • H04H20/78CATV [Community Antenna Television] systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
    • H04N21/63345Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/167Systems rendering the television signal unintelligible and subsequently intelligible
    • H04N7/1675Providing digital key or authorisation information for generation or regeneration of the scrambling sequence

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

본 발명은 CATV 시스템에서의 PN키의 암호화 방법에 관한 것으로 이를 해결하기 위해, 방송신호에다 암호화를 수행하는 암호화 장치와 이 암호화된 방송신호를 복원하는 복호화 장치를 구비하고, PN키와 비밀키를 연산하고, 비밀키를 순차 이동시키며, 십진수를 계산함과 아울러 소정번째의 비트에 대한 모듈러-2를 수행하며, 이 모듈러 결과값에 따라 비밀키를 이동 및 전이시키며, 이와 동일한 과정을 통해 최종의 암호화된 데이타를 출력하면, 복화장치에서는 암호화된 비밀키를 암호화 과정과는 반대로 실시하여 최초에 송신측에서 송출된 영상신호 및 정보를 복원하게 된다.The present invention relates to a method for encrypting a PN key in a CATV system. To solve the problem, an encryption apparatus for encrypting a broadcast signal and a decryption apparatus for restoring the encrypted broadcast signal are provided. Computes, shifts the secret key sequentially, calculates the decimal number, performs modular-2 for the first bit, moves and transfers the secret key according to this modular result, and performs the final When outputting the encrypted data, the decryption apparatus restores the video signal and information originally sent from the transmitting side by performing the encrypted secret key in the reverse manner of the encryption process.

Description

케이블 텔레비젼의 피엔(PN)키 암호화 방법How to encrypt a PN key in cable television

제1도는 본 발명에 따른 케이블 텔레비젼의 피엔(PN)키에 대한 암호화 및 복호화 시스템을 개략적으로 도시한 도면.1 schematically illustrates an encryption and decryption system for a PN key of a cable television according to the present invention.

제2도는 제1도의 피엔(PN)키의 암호화 방법을 설명하기 위한 개략적으로 도시한 도면.FIG. 2 is a schematic diagram for explaining the encryption method of the PN key of FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

100 : 암호화 장치도 102 : 스크램블링 PN키 발생부100: encryption device diagram 102: scrambling PN key generation unit

104 : PN 계열 발생부 106 : 스크램블러104: PN series generator 106: scrambler

108 : PN키 암호화부 200 : 복호화 장치도108: PN key encryption unit 200: Decryption apparatus diagram

202 : PN키 복호화부 206 : 디스크램블러202: PN key decoder 206: descrambler

300 : 채널300: channel

본 발명은 케이블 텔레비젼(CATV)의 피엔(PN)키 암호화 방법에 관한 것으로, 특히 스크램블링 및 디스크램블링 정보를 갖고 있는 PN키를 전송 및 수신할 때, 보안을 위해 암호화시키는 케이블 텔레비젼의 피엔(PN)키 암호화 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for encrypting a PN key of a cable television (CATV), and more particularly, to a cable television (PN) which encrypts for security when transmitting and receiving a PN key having scrambling and descrambling information. It relates to a key encryption method.

케이블 텔레비젼(CATV)이라 함은 유선방송국과 일반 가입자간에 유선으로 연결한 다음 유선방송국으로부터 방송신호를 가입자에게 제공할 수 있도록 된 시스템을 말한다.Cable television (CATV) refers to a system in which a cable is connected between a cable broadcasting station and a general subscriber and then a broadcast signal can be provided to the subscriber from the cable broadcasting station.

예를 들어, 유선방송국에 가입되지 않은 비가입자가 방송신호를 공급받지 못하도록 하기 위하여 원래의 방송신호에도 도난 시청 방지를 위한 스크램블링(변조)를 한 후 전송하는 것이 일반적이다.For example, in order to prevent a non-subscriber who is not subscribed to a cable broadcasting station from receiving a broadcast signal, it is common to transmit the original broadcast signal after scrambling (modulation) to prevent theft.

따라서, 유선방송국에 가입한 가입자만이 암호화된 방송신호를 디스크램블링(복조)시켜 최초 유선방송국에서 송출되는 방송신호를 복원하여 제공받게 된다.Therefore, only the subscribers subscribed to the cable broadcasting station descrambles (demodulates) the encrypted broadcast signal to restore and receive the broadcast signal transmitted from the first cable broadcasting station.

이때, 비가입자가 스크램블링(변조)된 방송신호를 수신하였다 하더라도 이 스크램블링된 영상신호를 복원할 수 없게 됨으로, 유선방송국에서 송출된 방송을 시청할 수 없게 된다.At this time, even if the non-subscriber receives the scrambled (modulated) broadcast signal, the scrambled video signal cannot be restored, so that the broadcast broadcast from the cable broadcasting station cannot be viewed.

한편, 합법적인 가입자에게는 스크램블링된 신호를 디스크램블링할 수 있는 정보(PN-키 데이타)를 같이 전송하는데, 이 PN-키 데이타를 그대로 전송하게 되면, 불법적 의도를 가진 제3자에게 획득 당했을 경우에는 불이익을 당할 수 있으므로 PN-키 데이타를 암호화시켜 전송해야만 한다.On the other hand, legitimate subscribers are sent information (PN-key data) that can descramble the scrambled signal together. You may be at a disadvantage, so you must encrypt and transmit your PN-key data.

이와 같이, PN-키 데이타를 암호화 및 복호화할 경우에는 주로 복잡한 DES 알고리즘이나 RSA 알고리즘을 이용하게 되는데, 이는 하드웨어적으로 복잡하고, 복호화시 시간과 비용이 많이 드는 단점이 있었다.As such, when encrypting and decrypting PN-key data, a complicated DES algorithm or an RSA algorithm is mainly used, which is complicated in hardware and has a disadvantage in that time and cost are high in decryption.

즉, DES 알고리즘(Data encryption Standard)은 64 비트 단위의 데이타를 56 비트 비밀키와 다수의 키테이블 데이타를 이용하여 암호화 및 복호화를 수행하는 것으로, 이를 이용할 경우에는 시스템의 하드웨어가 복잡해지고, 32 비트의 PN-키를 암호화하는 시스템에서는 그 효율성이 떨어진다.That is, the DES algorithm (Data encryption Standard) encrypts and decrypts 64-bit data using a 56-bit secret key and a plurality of key table data. When using this, the hardware of the system becomes complicated, and 32-bit In systems that encrypt PN-keys, they are less efficient.

따라서, 본 발명은 상기와 같은 단점을 해결하기 위하여 안출한 것으로, 본 발명의 목적은 전이암호와 대치암호로 간단히 적용시켜 보안성을 갖는 케이블 텔레비젼의 피엔(PN)키 암호화 방법을 제공하는데 있다.Therefore, the present invention has been made to solve the above disadvantages, an object of the present invention is to provide a PN (PN) key encryption method of a cable television having security by simply applying a transition password and a replacement password.

상기의 목적을 달성하기 위한 본 발명에 따르면, 스크램블링 비밀키의 데이타와 임의로 조작 가능한 비밀키의 데이타를 제공받아 PN키를 암호화하는 케이블 텔레비젼의 PN키 암호화 방법에 있어서:상기 암호화를 위한 32 비트의 PN키 데이타와 상기 32 비트 비밀키 데이타를 배타적 논리합에 의해 연산하여 32 비트의 PN키 데이타를 구현하는 제1과정과; 상기 제1과정에 의해 상기 32 비트의 PN키 데이타(A)를 16 비트씩 좌, 우측으로 분리하여 좌측 16 비트 PN키 데이타(A1)와 우측 16비트 PN키 데이타(A2)를 구현하는 제2과정과; 상기 32 비트 비밀키 데이타의 최상위 4 비트를 십진법에 의한 십진수를 계산하고, 상기 최상위 4 비트에 대한 모듈러-2를 연산하며, 좌측으로 4 비트 순환하는 제3과정과; 상기 모듈러-2의 연산결과에 따라 상기 우측 16 비트 PN키 데이타(A2)와 상기 좌측 16비트 PN키 데이타(A1)를 순환 이동 및 전이시키는 동작을 상기 32 비트 비밀키 데이타의 최하위 4 비트까지 실시하여 변형된 우측 16 비트 PN키 데이타(A2)와 상기 좌측 16 비트 PN키 데이타(A1)를 구현하는 제4과정과; 상기 제4과정 후 32 비트 비밀키 데이타를 2비트씩 좌측으로 순환시켜, 상기 제3-4과정을 8회 반복 수행하여 상기 32 비트 PN키의 데이타에 대한 최종의 암호화된 데이타로 출력하는 제5과정으로 이루어짐을 특징으로 한다.According to the present invention for achieving the above object, a cable television PN key encryption method for encrypting a PN key by receiving data of a scrambling secret key and a randomly manipulated secret key: A first step of computing 32-bit PN key data by computing PN key data and the 32-bit secret key data by an exclusive OR; A second step of implementing the left 16-bit PN key data A1 and the right 16-bit PN key data A2 by separating the 32-bit PN key data A from left and right by 16 bits by the first process; Process; A third step of calculating a decimal number with the most significant 4 bits of the 32-bit secret key data by using a decimal method, calculating a modulo-2 for the most significant 4 bits, and circulating 4 bits to the left; According to the operation result of the modular-2, the operation of cyclically moving and transferring the right 16-bit PN key data A2 and the left 16-bit PN key data A1 is performed to the least significant 4 bits of the 32-bit secret key data. A fourth step of implementing the modified right 16-bit PN key data A2 and the left 16-bit PN key data A1; A fifth step of repeating the 32-bit secret key data to the left by 2 bits after the fourth process, repeating the third to eight times, and outputting the final encrypted data for the data of the 32-bit PN key; It is characterized by consisting of a process.

또한, 제4과정에서, 모듈러-2 결과값이 0이 되면, 우측 16 비트 PN키 데이타를 소정의 형태로 전이시켜 변형된 16 비트의 PN키 데이타를 구현하고; 좌측 16 비트 PN키 데이타를 십진수 만큼 순환 이동시켜 변형된 16 비트의 PN키 데이타를 구현한다.Also, in the fourth process, when the modular-2 result value becomes 0, the right 16-bit PN key data is transferred to a predetermined form to implement modified 16-bit PN key data; The left 16-bit PN key data is cyclically shifted by a decimal number to implement modified 16-bit PN key data.

모듈러-2 결과값이 1이 되면, 우측 16 비트 PN키 데이타를 십진수 만큼 순환 이동시켜 변형된 16 비트의 PN키 데이타를 구현하고; 좌측 16 비트 PN키 데이타를 소정의 형태로 전이시켜 변형된 16 비트의 PN키 데이타을 구현한다.When the modular-2 result is 1, the right 16-bit PN key data is cyclically shifted by a decimal number to implement modified 16-bit PN key data; The left 16-bit PN key data is transferred to a predetermined form to implement modified 16-bit PN key data.

이하, 예시된 도면을 참조하여 본 발명의 동작을 상세히 설명한다.Hereinafter, the operation of the present invention will be described in detail with reference to the illustrated drawings.

제1도는 본 발명에 따른 케이블 텔레비젼의 피엔(PN)키에 대한 암호화 및 복호화 시스템을 개략적으로 도시한 도면이고, 제2도는 제1도의 피엔(PN)키의 암호화 과정을 설명하기 위해 도시한 도면이다.FIG. 1 is a diagram schematically showing an encryption and decryption system for a PN key of a cable television according to the present invention, and FIG. 2 is a diagram for explaining an encryption process of a PN key of FIG. to be.

제1도를 참조하면, 참조부호 100은 방송국에서 제작된 방송신호에다 암호화를 수행하는 암호화 장치도이고, 200은 암호화된 방송신호를 복원하는 복호화 장치도이다.Referring to FIG. 1, reference numeral 100 is an encryption apparatus for encrypting a broadcast signal produced by a broadcasting station, and 200 is a decryption apparatus diagram for restoring an encrypted broadcast signal.

암호화 장치도(100)는 스크램블링 PN키 발생부(102), PN계열 발생부(104), 스크램블러(106), PN키 암호화부(108)로 구성된다.The encryption apparatus diagram 100 includes a scrambling PN key generation unit 102, a PN sequence generation unit 104, a scrambler 106, and a PN key encryption unit 108.

복호화 장치도(200)는 PN키 복호화부(202), PN계열 발생부(204), 디스크램블러(206)로 구성되며, 송신측 암호화 장치도(100)와 수신측 복호화 장치도(200)는 채널(300)로 연결 구성된다.The decryption apparatus diagram 200 is composed of a PN key decryption unit 202, a PN sequence generator 204, and a descrambler 206. The decryption apparatus diagram 100 and the receiver decryption apparatus diagram 200 The channel 300 is configured to be connected.

스크램블링 PN키 발생부(102)는 스크램블링을 위한 32 비트 PN키 데이타를 PN계열 발생부(104)과 PN키 암호화부(108)로 제공되도록 구성된다.The scrambling PN key generation unit 102 is configured to provide 32-bit PN key data for scrambling to the PN sequence generation unit 104 and the PN key encryption unit 108.

PN계열 발생부(104)는 스크램블링 PN키 발생부(102)로부터 제공된 32 비트 PN키 데이타에 대응되는 PN키의 계열신호를 스크램블러(106)로 제공되도록 구성된다.The PN sequence generator 104 is configured to provide the scrambler 106 a sequence signal of the PN key corresponding to the 32-bit PN key data provided from the scrambling PN key generator 102.

스크램블러(106)는 PN계열 발생부(104)로부터 제공되는 PN키의 계열신호에 의거하여 외부로부터 입력되는 방송신호의 영상 및 음성신호를 스크램블링하여 채널(300)로 제공되도록 구성된다.The scrambler 106 is configured to scramble video and audio signals of broadcast signals input from the outside based on the PN key sequence signals provided from the PN sequence generator 104 to be provided to the channel 300.

PN키 암호화부(108)는 스크램블링 PN키 발생부(102)로부터 제공되는 32 비트의 PN키 데이타와 임의로 조작 가능한 32 비트 비밀키 데이타에 의거하여 암호화를 실시하여 최종의 PN-키 데이타를 상기 스크램블된 방송신호의 영상 및 음성신호와 함께 채널(300)을 통해 복호화 장치도(200)로 출력하게 된다.The PN key encryptor 108 encrypts the final PN-key data by performing encryption based on the 32-bit PN key data and the arbitrarily manipulated 32-bit secret key data provided from the scrambling PN key generator 102. The video signal and the audio signal of the broadcast signal are output to the decoding apparatus 200 through the channel 300.

또한, 제1도의 복호화 장치도(200)의 PN키 복호화부(202)는 채널(300)을 통해 출력되어 입력되는 암호화된 32 비트 PN-키 데이타와 송신측의 32 비트 비밀키와 동일한 데이타를 기초로 하여 복호화를 실시함과 아울러 이 복원된 PN-키 데이타를 PN계열 발생부(204)로 제공되도록 구성된다.In addition, the PN key decryption unit 202 of the decryption apparatus 200 of FIG. 1 outputs the encrypted 32-bit PN-key data and the same data as the 32-bit secret key on the transmitting side which are output and input through the channel 300. On the basis of the decoding, the recovered PN-key data is provided to the PN sequence generation unit 204.

PN계열 발생부(204)는 PN키 복호화부(202)로부터 원래의 32 비트 PN-키로 복원된 데이타에 상응되는 PN키의 계열신호를 디스크램블러(204)로 제공되도록 구성된다.The PN sequence generator 204 is configured to provide the descrambler 204 a sequence signal of the PN key corresponding to the data recovered from the PN key decoder 202 to the original 32-bit PN-key.

디스크램블러(206)는 PN계열 발생부(204)로부터 제공되는 PN키의 계열신호를 기초로 하여 채널(300)을 통해 출력되어 입력되는 스크램블된 방송신호의 영상 및 음성신호를 디스크램블링하여 재생된 원래의 방송신호를 미도시된 각 회로단으로 출력하도록 구성된다.The descrambler 206 descrambles the video and audio signals of the scrambled broadcast signal which is output and input through the channel 300 based on the PN key sequence signal provided from the PN sequence generator 204, and reproduced. It is configured to output the original broadcast signal to each circuit stage not shown.

이와 같이 구성된 본 발명의 동작을 제2도를 참조하여 상세히 설명한다.The operation of the present invention configured as described above will be described in detail with reference to FIG.

제1도를 참조하면, 암호화 장치도(100)의 PN키 발생부(102)로부터 제공되는 스크램블링을 위한 32 비트 PN키 데이타가 PN계열 발생부(104)과 PN키 암호화부(108)로 제공된다.Referring to FIG. 1, 32-bit PN key data for scrambling provided from the PN key generation unit 102 of the encryption apparatus diagram 100 is provided to the PN sequence generation unit 104 and the PN key encryption unit 108. do.

PN키 암호화부(108)에는 스크램블링 PN키 발생부(102)로부터 제공되는 스크램블링을 위한 32 비트 PN키 데이타와 임의로 조작 가능한 32 비트 비밀키 데이타를 제공받게 된다.The PN key encryption unit 108 is provided with 32-bit PN key data and randomly operable 32-bit secret key data for scrambling provided from the scrambling PN key generation unit 102.

PN계열 발생부(104)에서는 스크램블링 PN키 발생부(102)로부터 제공되는 32 비트 PN키 데이타에 대응되는 PN키의 계열신호를 스크램블러(106)로 제공된다. 이때, 스크램블러(106)에서는 PN계열 발생부(104)로부터 제공되는 PN키의 계열호를 근거로 입력되는 영상 및 음성신호를 스크램블링하여 채널(300)로 출력하게 된다.The PN sequence generator 104 provides the scrambler 106 with a sequence signal of the PN key corresponding to the 32-bit PN key data provided from the scrambling PN key generator 102. In this case, the scrambler 106 scrambles the video and audio signals input based on the sequence code of the PN key provided from the PN sequence generator 104 and outputs the scrambler 106 to the channel 300.

이와 동시에, PN키 암호화부(108)에서는 스크램블링 PN키 발생부(102)로부터 제공되는 32 비트 PN키 데이타와 수신측의 PN키 복호화부(202)와 동일하게 제공되는 32 비트 비밀키 데이타를 제공받아 암호화를 수행하게 된다.At the same time, the PN key encryption unit 108 provides 32-bit PN key data provided from the scrambling PN key generation unit 102 and 32-bit secret key data provided in the same manner as the PN key decryption unit 202 on the receiving side. Receive and perform encryption.

제2도를 참조하여, PN키 암호화부(108)에서의 제1, 2, 3, 4, 5과정을 설명한다.Referring to FIG. 2, the first, second, third, fourth and fifth processes in the PN key encryption unit 108 will be described.

제1과정에서는, 스크램블링 PN키 발생부(102)로부터 제공되는 32 비트의 PN키 데이타(제2도의 (a))와 임으로 조작 가능한 32 비트 비밀키 데이타를 배타적 논리합(exclusive OR)으로 연산을 실시함으로써, 배타적 논리합으로 연산된 32 비트의 PN키 데이타를 구현한다.In the first process, the 32-bit PN key data ((a) of FIG. 2) provided from the scrambling PN key generation unit 102 and the 32-bit secret key data that can be manipulated arbitrarily are performed with an exclusive OR. As a result, the 32-bit PN key data calculated by the exclusive OR is implemented.

그리고, 제2과정에서는, 제1과정에 의해 배타적 논리합 연산된 상기 32 비트의 PN키 데이타를 제2도의 (b)에 도시된 바와 같이, 배타적 논리합 연산된 상기 32 비트의 PN키 데이타를 16 비트씩 좌, 우측으로 분리하여 좌측 16 비트 PN키 데이타와 우측 16 비트 PN키 데이타로서 각각 구현하게 된다.In the second process, the 32-bit PN key data obtained by the exclusive logical OR operation by the first process is 16 bits of the 32-bit PN key data obtained by performing the exclusive OR operation as shown in FIG. The left and right sides are separated into left 16 bit PN key data and right 16 bit PN key data.

제3과정에서는, 제2도의 (c)에 도시된 32 비트 비밀키 데이타의 최상위 4 비트(b0,b1,b2,b3)를 십진법에 의한 십진수를 계산하게 된다.In the third process, the decimal number is calculated using the decimal method of the most significant 4 bits (b 0 , b 1 , b 2 , b 3 ) of the 32-bit secret key data shown in (c) of FIG. 2 .

또한, 상기 32 비트 비밀키 데이타의 최상위 4 비트(b0,b1,b2,b3)에 대한 모듈러-2-를 연산한 다음 32 비트 비밀키 데이타를 좌측으로 4 비트 순환시켜 새로운 32 비트 비밀키 데이타(좌측으로 4 비트 이동됨)를 구현하게 된다.In addition, a modulo-2- operation on the most significant 4 bits (b 0 , b 1 , b 2 , b 3 ) of the 32-bit secret key data is performed, and the 32-bit secret key data is rotated 4 bits to the left to form a new 32 bit. Implement the secret key data (4 bits shifted left).

제4과정에서는, 모듈러-2-의 연산 결과에 따라 우측 16 비트 PN키 데이타와 좌측 16 비트 PN키 데이타를 순환 이동 및 전이시키는 동작을 32 비트 비밀키 데이타(좌측으로 4 비트 이동됨)가 4 비트씩 이동되어 32 비트 비밀키 데이타의 최하위 4 비트까지 실시하게 된다.In the fourth process, the 32-bit secret key data (4 bits shifted to the left) is cyclically moved and transferred between the right 16-bit PN key data and the left 16-bit PN key data according to the operation result of Modular-2-. It is shifted bit by bit to carry the least significant four bits of the 32-bit secret key data.

예컨데, 제4과정에서; 모듈러-2-의 연산 결과, 모듈러-2-값이 0이 되면 제2도의 (c)에 도시된 바와 같이, 우측 16 비트 PN키 데이타를 소정의 형태로 전이시켜 변형된 16 비트의 PN키 데이타를 구현하게 되며, 또한, 좌측 16 비트 PN키 데이타는 제2도의 (d)에 도시된 바와 같이, 해당 비트에 대한 십진수 만큼 좌측방향으로 순환 이동시켜 변형된 16 비트의 PN키 데이타를 구현하게 된다.For example, in the fourth process; As a result of the operation of modular-2-, when the modular-2-value becomes 0, 16-bit PN key data modified by transferring the right 16-bit PN key data to a predetermined form as shown in (c) of FIG. In addition, the left 16-bit PN key data is cyclically shifted to the left by the decimal number for the corresponding bit as shown in (d) of FIG. 2 to implement the modified 16-bit PN key data. .

이와 반대로, 모듈러-2 결과값이 1이 되면, 제2도의 (d)에 도시된 바와 같이, 우측 16 비트 PN키 데이타를 해당 비트에 대한 십진수 만큼 좌측방향으로 순환 이동시켜 변형된 16 비트의 PN키 데이타를 구현하며, 또한, 좌측 16 비트 PN키 데이타는 제2도의 (c)에 도시된 바와 같이, 소정의 형태로 전이시켜 변형된 16 비트의 PN키 데이타를 구현한다.On the contrary, when the Modular-2 result value is 1, as shown in (d) of FIG. 2, the 16-bit PN transformed by circularly shifting the right 16-bit PN key data to the left by the decimal number for the corresponding bit. Key data is implemented, and the left 16-bit PN key data is transferred to a predetermined form to implement modified 16-bit PN key data, as shown in Fig. 2C.

참고로; 모듈러-2 계산법은 소정의 4 비트 즉, 1011인 경우에는 (1+0+1+1)÷2=1이 되고, 다른 예로, 1111인 경우에는 (1+1+1+1)÷2=0 되는 것이다.Note that; The modular-2 calculation is (1 + 0 + 1 + 1) ÷ 2 = 1 for a given 4 bits, i.e. 1011, and (1 + 1 + 1 + 1) ÷ 2 = for another 1111. 0.

제5과정에서는, 제4과정후 32 비트 비밀키 데이타를 2 비트씩 좌측으로 순환시킴과 동시에 상기 제3-4과정을 8호 반복 수행하여 32 비트 PN키의 데이타에 대한 최종의 암호화된 데이타로 출력하게 되는 것이다.In the fifth process, the 32-bit secret key data is circulated to the left by 2 bits after the fourth process, and the above steps 3-4 are repeated 8 times to obtain the final encrypted data of the 32-bit PN key data. Will print.

이러한 암호화 과정을 통해, 얻어진 최종의 32 비트의 PN키 데이타를 구현하여 상기 스크램블된 방송신호의 영상과 음성신호와 함께 채널(300)을 통해 수신측으로 전달하게 되는 것이다.Through this encryption process, the final 32-bit PN key data obtained is implemented and transmitted to the receiver through the channel 300 together with the video and audio signals of the scrambled broadcast signal.

복호화 장치도(200)에서는 채널(300)을 통해 출력되어 입력되는 스크램블링된 영상 및 음성신호는 디스크램블러(206) 및 PN키 복호화부(202)로 제공되는 것이다.In the decoding apparatus 200, the scrambled video and audio signals output and input through the channel 300 are provided to the descrambler 206 and the PN key decoder 202.

따라서, PN키 복호화부(202)에서는 송신측 비밀키와 동일한 비밀키의 데이타가 존재함으로, 상기 암화된 방법의 역순서로 복호화를 실시하게 된다. 이렇게 복원된 PN키 데이타가 PN계열 발생부(204)로 제공됨과 동시에, PN계열 발생부(204)에서는 송신측과 동일한 PN-키에 대응되는 PN키의 계열신호를 디스크램블러(206)로 제공하게 된다.Therefore, since the PN key decryption unit 202 has the same secret key data as the sender secret key, the PN key decryption unit 202 performs decryption in the reverse order of the encrypted method. The restored PN key data is provided to the PN sequence generator 204, and the PN sequence generator 204 provides the descrambler 206 with a sequence signal of the PN key corresponding to the same PN-key as the transmitting side. Done.

디스크램블러(206)에서는 채널(300)을 통해 입력되는 스크램블된 영상 및 음성신호는 상기 복원된 PN-키 데이타에 의하여 디스크램블링하여 원래의 방송신호로서 미도시된 각 회로단으로 출력하게 되는 것이다.In the descrambler 206, the scrambled video and audio signals input through the channel 300 are descrambled by the restored PN-key data, and output to the circuit terminals not shown as original broadcast signals.

이상에서 설명한 바와 같이, 본 발명을 이용할 경우에는 하드웨어적 단순화와 암호화하는데 필요한 시간과 비용을 절감할 수 있다.As described above, when the present invention is used, the time and cost required for hardware simplification and encryption can be reduced.

또한, 본 발명은 상기의 실시예에 한정하지 않고 본원의 기술적 요지를 벗어나지 않는 범위내에서 변형시킬 수 있다.In addition, this invention is not limited to the said Example, It can change in the range which does not deviate from the technical summary of this application.

Claims (3)

스크램블링 비밀키의 데이타와 임의로 조작 가능한 비밀키의 데이타를 제공받아 PN키를 암호화하는 케이블 텔레비젼의 PN키 암호화 방법에 있어서:상기 암호화를 위한 32 비트의 PN키 데이타와 상기 32 비트 비밀키 데이타를 배타적 논리합에 의해 연산하여 32 비트의 PN키 데이타를 구현하는 제1과정과; 상기 제1과정에 의해 상기 32 비트의 PN키 데이타(A)를 16 비트씩 좌, 우측으로 분리하여 좌측 16 비트 PN키 데이타와 우측 16비트 PN키 데이타(A2)를 구현하는 제2과정과; 상기 32 비트 비밀키 데이타의 최상위 4 비트를 십진법에 의한 십진수를 계산하고, 상기 최상위 4 비트에 대한 모듈러-2를 연산하고, 좌측으로 4 비트 순환하는 제3과정과; 상기 모듈러-2의 연산결과에 따라 상기 우측 16 비트 PN키 데이타(A2)와 상기 좌측 16비트 PN키 데이타(A1)를 순환 이동 및 전이시키는 동작을 상기 32 비트 비밀키 데이타의 최하위 4 비트까지 실시하여 변형된 우측 16 비트 PN키 데이타(A2)와 상기 좌측 16 비트 PN키 데이타(A1)를 구현하는 제4과정과; 상기 제4과정 후 32 비트 비밀키 데이타를 2비트씩 좌측으로 순환시켜, 상기 제3-4과정을 8회 반복 수행하여 상기 32 비트 PN키의 데이타에 대한 최종의 암호화된 데이타로 출력하는 제5과정으로 이루어짐을 특징으로 하는 케이블 텔레비젼의 피엔(PN)키 암호화 방법.A cable television PN key encryption method for encrypting a PN key by receiving data of a scrambling secret key and data of an arbitrarily manipulated secret key: Performing a logical OR to implement 32-bit PN key data; A second step of realizing the left 16-bit PN key data and the right 16-bit PN key data A2 by separating the 32-bit PN key data A by 16 bits by left and right by the first step; A third step of calculating a decimal number with the most significant 4 bits of the 32-bit secret key data by using a decimal method, calculating a modular-2 for the most significant 4 bits, and circulating 4 bits to the left; According to the operation result of the modular-2, the operation of cyclically moving and transferring the right 16-bit PN key data A2 and the left 16-bit PN key data A1 is performed to the least significant 4 bits of the 32-bit secret key data. A fourth step of implementing the modified right 16-bit PN key data A2 and the left 16-bit PN key data A1; A fifth step of repeating the 32-bit secret key data to the left by 2 bits after the fourth process, repeating the third to eight times, and outputting the final encrypted data for the data of the 32-bit PN key; A method for encrypting a PN key of a cable television, characterized by the process. 제1항에 있어서, 상기 제4과정에서, 모듈러-2 결과값이 0이 되면, 우측 16 비트 PN키 데이타를 소정의 형태로 전이시켜 변형된 16 비트의 PN키 데이타를 구현하고; 좌측 16 비트 PN키 데이타를 십진수 만큼 순환 이동시켜 변형된 16 비트의 PN키 데이타를 구현하는 것을 특징으로 하는 케이블 텔레비젼의 피엔(PN)키 암호화 방법.2. The method of claim 1, wherein in the fourth step, when the modulo-2 result value becomes 0, the right 16-bit PN key data is transferred to a predetermined form to implement modified 16-bit PN key data; A PN key encryption method for cable television, characterized by implementing a modified 16 bit PN key data by circularly shifting the left 16 bit PN key data by a decimal number. 제1항에 있어서, 상기 모듈러-2 결과값이 1이 되면, 우측 16 비트 PN키 데이타를 십진수 만큼 순환 이동시켜 변형된 16 비트의 PN키 데이타를 구현하고; 좌측 16 비트 PN키 데이타를 소정의 형태로 전이시켜 변형된 16 비트의 PN키 데이타을 구현하는 것을 특징으로 하는 케이블 텔레비젼의 피엔(PN)키 암호화 방법.2. The method of claim 1, wherein when the modular-2 result is 1, the modified 16-bit PN key data is implemented by circularly shifting the right 16-bit PN key data by a decimal number; A PN key encryption method for cable television, characterized in that the left 16-bit PN key data is transferred to a predetermined form to implement modified 16-bit PN key data.
KR1019950023359A 1995-07-31 1995-07-31 Encryption method of pn-key in cable television KR0170964B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950023359A KR0170964B1 (en) 1995-07-31 1995-07-31 Encryption method of pn-key in cable television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950023359A KR0170964B1 (en) 1995-07-31 1995-07-31 Encryption method of pn-key in cable television

Publications (2)

Publication Number Publication Date
KR970009366A KR970009366A (en) 1997-02-24
KR0170964B1 true KR0170964B1 (en) 1999-03-20

Family

ID=19422354

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950023359A KR0170964B1 (en) 1995-07-31 1995-07-31 Encryption method of pn-key in cable television

Country Status (1)

Country Link
KR (1) KR0170964B1 (en)

Also Published As

Publication number Publication date
KR970009366A (en) 1997-02-24

Similar Documents

Publication Publication Date Title
JP4976107B2 (en) Method for scrambling and descrambling a unit of data
US5381481A (en) Method and apparatus for uniquely encrypting a plurality of services at a transmission site
KR100726871B1 (en) Process for protecting an information item transmitted from a security element to a decoder and protection system using such a process
JP2004320819A (en) Method and apparatus for uniquely enciphering data for terminal office
US5243650A (en) Method and apparatus for encryption/decryption of digital multisound in television
KR940025348A (en) Scramble transmission device for transmitting scrambled and descrambled digital video signals
WO1998027687A3 (en) Method and apparatus for providing a cryptographically secure interface between the decryption engine and the system decoder of a digital television receiver
JP2831650B2 (en) Signal scramble transmission system and device
JPH01248891A (en) Encipherment key delivery system
KR0170964B1 (en) Encryption method of pn-key in cable television
KR100794707B1 (en) Method for scramble and descramble using multiple image data and system for performing the same
KR0159400B1 (en) Method for decryption and encryption of the pn key in the cable television
KR0174930B1 (en) Encrypting method of a pn key
KR100207379B1 (en) Encryption method of pn-key
KR0154929B1 (en) Encryption and decryption method of pn-key
KR100851016B1 (en) Apparatus for scrambling/descrambling and the system for transceiving using the same
JPH10200523A (en) Encodong/deciding circuit
KR0158587B1 (en) Scramble apparatus having error correcting function
JPH11249558A (en) Encoding device
JPH09307546A (en) Ciphering system, information providing device and information using side device in the ciphering system, and scrambler and descrambler in the ciphering system
JP2734388B2 (en) Audio Scrambler with Effect Control for Audio Data Compression System Using Band Division Coding
JPS60250776A (en) Scrambler system
JPH06303610A (en) Descramble receiver
JPH0457491A (en) Cipher transmission system for video
JPS63245191A (en) Subscriber's broadcasting system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20071001

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee