Re: OpenSSL breaks factor(6)

From: Garance A Drosehn <drosih_at_rpi.edu>
Date: Sat, 28 Dec 2019 22:46:52 -0500
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_at_rpi.edu
Senior Systems Programmer               or   gad_at_FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA
Received on Sun Dec 29 2019 - 02:46:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC