title: What algorithm does PGP use to encrypt the private key using the passphrase?
body: <p>The PGPKeyRingGenerator constructor takes in a passphrase to encrypt the private key. What is the algorithm that it uses to do this? It has a field called encAlgorithm, but I couldn't find any documentation explaining what these algorithms are.</p>