해시/암호화
PGP/GPG Encrypt/Decrypt
PGP 키를 생성하고, openpgp.js 라이브러리를 통해 메시지를 암호화 및 복호화합니다(OpenPGP, RFC 4880).
PGP/OpenPGP (RFC 4880) uses a key pair — public and private — for end-to-end message encryption and digital signatures. This tool generates keys and encrypts/decrypts messages using the openpgp.js library, right in your browser.
How to use it
- Generate keys: provide a name, email, and passphrase to get a public/private key pair ready to use.
- Encrypt: encrypt a message with the recipient's public key — only whoever holds the matching private key can decrypt it.
- Decrypt: paste an encrypted message along with your private key and passphrase to read the original text.
Common uses
- End-to-end encrypting sensitive correspondence when the recipient has their own PGP key.
- Verifying a digital signature on a message or file to confirm the sender's authenticity.
- Generating a test key pair to learn or set up a PGP workflow without installing GnuPG.
Things to keep in mind
A public key can be shared freely — it's exactly what others need to encrypt a message for you; a private key must never be shared with anyone.
Losing a private key with no backup means old messages can never be decrypted again — that's why creating a revocation certificate right after generating a key is worth doing immediately.
자주 묻는 질문
PGP에서 암호화와 서명의 차이는 무엇인가요?
암호화는 의도된 수신자의 개인 키만 읽을 수 있도록 그들의 공개 키를 사용해 메시지를 뒤섞습니다. 서명은 그 반대로, 당신의 개인 키를 사용해 메시지가 당신에게서 왔고 변경되지 않았음을 증명하며, 당신의 공개 키를 가진 누구나 검증할 수 있습니다.
이 도구에 제 개인 키를 맡겨도 되나요?
모든 키 생성, 암호화, 복호화, 서명은 브라우저 내에서 완전히 이루어집니다 — 개인 키가 서버로 전송되는 일은 없습니다. 그래도 여기에 붙여넣는 개인 키는 다른 곳과 마찬가지로 신중하게 다루세요.
여기서 RSA와 ECC 키의 차이는 무엇인가요?
RSA는 더 오래되고 더 널리 지원되는 옵션으로, 동등한 보안을 위해 보통 더 긴 키(2048비트 이상)가 필요합니다. ECC(타원 곡선)는 훨씬 짧은 키로 비슷한 보안을 달성해 더 빠르지만, 오래된 소프트웨어에서는 지원이 다소 덜 보편적입니다.
Web of Trust란 무엇이고 X.509와 어떻게 다른가요?
중앙화된 인증 기관이 신뢰를 보증하는 X.509와 달리, PGP는 "신뢰의 거미줄(Web of Trust)"에 의존합니다. 사용자들은 키의 소유자를 직접 확인한 후 서로의 공개 키에 서명합니다. 낯선 키에 대한 신뢰는 이미 신뢰하는 사람들의 서명 체인을 통해 형성됩니다.
개인 키를 분실하면 어떻게 되나요?
개인 키가 없으면 자신에게 암호화된 메시지를 복호화하거나 자신의 이름으로 서명할 수 없습니다 — 백업이 없다면 키를 복구할 방법이 없습니다. 그래서 키를 생성한 직후 철회 인증서(revocation certificate)를 만들어두는 것이 중요한 습관입니다.