d27d30a352
Allow encrypting a decrypted secret key, which is especially useful for generating a new encrypted secret key. Defaults to AES256, S2K iter+salt SHA512, always uses s2k_useage 254 with sha1 integrity protection of the encrypted key material. Also add an example to parallel keygen.php that generates a key and then encrypts it with a passphrase.