pem2openpgp: implemented extended euclidean algorithm to find modular multiplicative...