Changeset 53


Ignore:
Timestamp:
07/12/13 11:51:36 (11 years ago)
Author:
tmorgan
Message:

new custom base64 dialect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bletchley/blobtools.py

    r45 r53  
    132132            self.c63 = b'/'
    133133            self.pad = b'$'
     134        elif dialect.startswith('url6'):
     135            self.c62 = b'*'
     136            self.c63 = b'/'
     137            self.pad = b'='
    134138        elif dialect.startswith('otkurl'):
    135139            self.c62 = b'-'
     
    360364    (base64Encoding, 'url5', 265),
    361365    (base64Encoding, 'url5-nopad', 266),
     366    (base64Encoding, 'url6', 267),
     367    (base64Encoding, 'url6-nopad', 268),
    362368    (base64Encoding, 'xmlnmtoken', 270),
    363369    (base64Encoding, 'xmlnmtoken-nopad', 271),
Note: See TracChangeset for help on using the changeset viewer.