Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2019 22:46:52 -0500
From:      "Garance A Drosehn" <drosih@rpi.edu>
To:        "Steve Kargl" <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: OpenSSL breaks factor(6)
Message-ID:  <92557725-6612-46ED-BA39-FCE91EF6D091@rpi.edu>
In-Reply-To: <20191227224212.GA61594@troutmask.apl.washington.edu>
References:  <20191227212530.GA61314@troutmask.apl.washington.edu> <20191227214717.GA61475@troutmask.apl.washington.edu> <20191227224212.GA61594@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Dec 2019, at 17:42, Steve Kargl wrote:
>
> This patch now includes a fix for hexadecimal conversion.  It
> simple scans the string for a hex digit in [a,...,f] and assumes
> that a hexadecimal string has been entered.  A string that includes
> character from the decimal digits is assumed to by a decimal
> representation.

What if the user wants to factor a hexadecimal value which does not
happen to include [a...f]?

How about recognizing a prefix of '0x' as a way to indicate the value
is hexadecimal?

-- 
Garance Alistair Drosehn                =     drosih@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92557725-6612-46ED-BA39-FCE91EF6D091>