private function extractSignature($value)
    {
        $length = $this->getSignatureLength();
        $value = unpack('H*', $value)[1];

        return new Signature(
            $this->adapter->hexDec(substr($value, 0, $length)),
            $this->adapter->hexDec(substr($value, $length))
        );
    }
private function extractSignature($value)
    {
        $length = $this->getSignatureLength();
        $value = unpack('H*', $value)[1];

        return new Signature(
            $this->adapter->hexDec(substr($value, 0, $length)),
            $this->adapter->hexDec(substr($value, $length))
        );
    }
private function extractSignature ( $ value ) { $ length = $ this -> getSignatureLength ( ) ; $ value = unpack ( 'H*' , $ value ) [ 1 ] ; return new Signature ( $ this -> adapter -> hexDec ( substr ( $ value , 0 , $ length ) ) , $ this -> adapter -> hexDec ( substr ( $ value , $ length ) ) ) ; }
Extracts R and S values from given data

@param string $value

@return \Mdanter\Ecc\Crypto\Signature\Signature
Extracts R and S values from given data