# PGP (Pretty Good Privacy)

PGP is an encryption program that provides cryptographic privacy and authentication for data communication.

### Decrypt <a href="#decrypt" id="decrypt"></a>

First off, you need to format the private key to make the John to recognize it.

```
gpg2john private.key > hash.txt
```

Crack the passphrase using John the Ripper.

```
john --wordlist=wordlist.txt hash.txt
```

### Decode Public Key <a href="#decode-public-key" id="decode-public-key"></a>

There are some online tools.

* [**PGPDump**](https://8gwifi.org/pgpdump.jsp)
