@classmethod
def from_private_key(klass, private_key):
    """This class method will create a new Public Key
        based on a private key.

        :param private_key: The private key
        :returns: a new public key
        """
    public_key = private_key.get_verifying_key()
    hexkey = (klass.key_prefix + public_key.to_string()).encode('hex')
    return klass(hexkey)
