def getPrivateKeyForPublicKey(self, pub):
raise NotImplementedError<EOL>
Returns the (possibly encrypted) private key that
            corresponds to a public key

           :param str pub: Public key

           The encryption scheme is BIP38