Lines Matching defs:encode
15 'encode', 'decode', 'encodestring', 'decodestring',
44 """Encode a string using Base64.
46 s is the string to encode. Optional altchars must be a string of at least
81 """Encode a string using the standard Base64 alphabet.
83 s is the string to encode. The encoded string is returned.
97 """Encode a string using a url-safe Base64 alphabet.
99 s is the string to encode. The encoded string is returned. The alphabet
138 """Encode a string using Base32.
140 s is the string to encode. The encoded string is returned.
255 """Encode a string using Base16.
257 s is the string to encode. The encoded string is returned.
289 def encode(input, output):
290 """Encode a file."""
315 """Encode a string into multiple lines of base-64 data."""
341 -e: encode (default)
342 -t: encode and decode string 'Aladdin:open sesame'"""%sys.argv[0]
344 func = encode
346 if o == '-e': func = encode