public function parse(string $expected, string $algorithm) : SignatureInterface
{
list($pointR, $pointS) = str_split(unpack('H*', $expected)[1], self::LENGTH[$algorithm]);
return new Signature(gmp_init($this->mathInterface->hexDec($pointR), self::GMP_BASE), gmp_init($this->mathInterface->hexDec($pointS), self::GMP_BASE));
}