Boost logo

Boost :

From: Christopher Kormanyos (e_float_at_[hidden])
Date: 2024-03-19 18:26:11


>>> thinking of writing a base64 encoder/decoder library
Absolutely!
But I fear we might need base-whatever.
Where the selection of base-radices can/shouldbe judiciously selected.

>> I wrote something like this back in the day
As did so many others including myself.
> forgot

There was another comment includingbase-64 conversions in cryptographicdomains.
Yes we need base-whatever conversions*and* cryptography. But these are different.
I need base conversions for cryptographybut that is not the only place I convert bases.And vice-versa.
I'd like to have cryptography (if it ever gets there)include a header-only base conversion.
Chris

    On Tuesday, March 19, 2024 at 07:17:00 PM GMT+1, René Ferdinand Rivera Morell via Boost <boost_at_[hidden]> wrote:
 
 On Tue, Mar 19, 2024 at 12:46 PM Ruben Perez via Boost
<boost_at_[hidden]> wrote:

> * Do you think a library like this could be useful to the C++ community?

Yes, but.. I would like a library that handles various types of
encoding/decoding with the "same" interface. Encodings that come to
mind: base-64, url, html, radix-64, base-16, base-32, custom base-x
alphabet table, base-36, base-62, and so on.

> * If the answer to the above is yes, do you think it could belong to
> Boost, or would be better as a standalone library?

If it's more than base-64, yes, it could be a Boost library.

-- 
-- René Ferdinand Rivera Morell
-- Don't Assume Anything  -- No Supone Nada
-- Robot Dreams - http://robot-dreams.net
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
  

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk