May 24, 2019

What is the public key encryption


Just as facility is protected by a lock, when you protect your data, encrypt is required, and then the cipher key is needed.

자물쇠로 시설을 보호하듯이, 데이터를 보호할 때는 암호화를 하며, 이때 암호 키가 필요하다.

Public key encryption is the encryption method that can communicate securely even when a cipher key is disclosed.

공개 키 암호는 암호 키를 공개해도 안전하게 통신할 수 있는 암호화 방식이다.

This disclosed key is called the public key and is used for encryption. It is open to anyone.

이렇게 공개된 키는 공개 키라고 부르며, 암호화 시점에 사용된다. 누구에게나 공개된다.

There is a key that matches this public key, which is called a private key and is used for decryption. This key has only one person.

그리고 이 공개 키에 매칭되는 키가 있는데, 비밀 키라고 부르며 해독(복호화) 시 사용된다. 이 키는 한 명만 가지고 있다.

When it thought as a lock, it is specially designed to have a key for locking purpose and a key for opening purpose.

자물쇠로 치면, 특수하게 설계되어, 잠금 목적의 키와 개방 목적의 키가 따로 존재하는 것과 같다.

For this reason, public key encryption is also referred to as asymmetric encryption.

이 때문에 공개 키 암호는 비대칭 암호라고 불리기도 한다.

In general, Its security is superior to symmetric key encryption with a single cipher key, but performance is poor.

일반적으로 보안성은 암호 키가 1개인, 대칭 키 암호 방식보다 우수하나 성능은 떨어진다.

On the contrary, there is the case where encryption is performed using a private key, which is the key possessed by only one person.

하지만 반대로, 한 명만 보유하는 암호 키인 비밀 키로 암호화하는 경우도 있다.

This is for use in authentication, Since there is only one private key that matches the public key, encryption with a private key implies that the creator of the ciphertext can be identified.

이는 인증에 활용하기 위해서인데, 공개 키와 매칭되는 비밀 키는 한 명만 가지고 있으므로, 비밀 키로 암호화를 한다는 것은, 해당 암호문을 만든 자를 식별할 수도 있다는 의미를 갖는다.

Therefore, if the data to be transmitted is protected by encrypting with the (opponent's) public key and the sender's information is encrypted with the (own) private key and transmitted, the data is protected, and the source of the data also can be clarified(authenticated).

그래서 전송할 데이터는 (상대의) 공개 키로 암호화하여 보호하고, 전송자의 이름은 (본인의) 개인 키로 암호화하여 전송하면, 데이터도 보호하고, 데이터의 출처도 명확(인증)해진다.

It is expressed as a signature, and it is the basis of a public certificate technique that everyone hates.

이것을 서명한다고 표현하며, 모두가 싫어하는 공인인증서 기술의 기초가 된다.