Added "hex" encoder if needed

This commit is contained in:
Adolfo Gómez García 2017-11-15 13:02:13 +01:00
parent c5af877fce
commit f41f431f38

View File

@ -77,3 +77,11 @@ def encode_zip(text):
def decode_zip(data, asText=False):
return __decode(data, 'zip', asText)
def encode_hex(text, asText=False):
return __encode(text, 'hex', asText)
def decode_hex(data, asText=False):
return __decode(data, 'hex', asText)