Hi,
One of the modules that I am currently working on requires base32hex encoding 
as defined by RFC 4648, section 7.
I checked base64 module which has base32encode/decode functionality but not 
with extended hex alphabet.
Is there a module, currently available, that provides this?

As far as I see, it looks fairly simple to add support for base32hex. It 
differs from the base32 encoding only in the alphabet used. I am willing to 
provide a patch.
Just to note, map01 argument won't be applicable to base32hexdecode as this 
encoding uses both 0 (zero) and O (oh) in its alphabet.

Looking at the section 13 of RFC 4648, I think, adding base32hex support would 
make it conform to RFC 4648.

-
Vishal

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to