public static function createFromEccKey(PublicKeyInterface $eccKey) : self
    {
        $math = EccFactory::getAdapter();
        $pointSerializer = new UncompressedPointSerializer($math);
        $point = $eccKey->getPoint();
        $hex = $pointSerializer->serialize($point);

        $binary = new BinaryString(hex2bin($hex));

        return new self($binary);
    }