Message180206
RFC4648 specifies two different alphabets for Base32: 1) the common one already used in RFC3548 and implemented in Python, and 2) an "Extended Hex" alphabet which is used by e.g. DNSSEC NSEC3 but not yet implemented in Python.
The attached patches add the "Extended Hex" alphabet to Python 2.7 and 3 via an optional parameter 'base32hex=False'. Default behavior is not changed.
patch Lib/base64.py < py27_base64.patch
patch Lib/test/test_base64.py < py27_test_base64.patch |
|
Date |
User |
Action |
Args |
2013-01-18 18:21:19 | matthaeus.wander | set | recipients:
+ matthaeus.wander |
2013-01-18 18:21:19 | matthaeus.wander | set | messageid: <1358533279.94.0.666576182033.issue16995@psf.upfronthosting.co.za> |
2013-01-18 18:21:19 | matthaeus.wander | link | issue16995 messages |
2013-01-18 18:21:19 | matthaeus.wander | create | |
|