PyDocs

Nav

Internet Data Handling

b32hexdecode

base64

function · Added in 3.10 (source)
  • b32hexdecode(s, casefold=False, *, padded=True, ignorechars=b'', canonical=False)
Decode the base32hex encoded bytes-like object or ASCII string s.

Optional casefold is a flag specifying whether a lowercase alphabet is
acceptable as input.  For security purposes, the default is False.

If padded is false, padding in input is not required.

ignorechars should be a byte string containing characters to ignore
from the input.

The result is returned as a bytes object.  A binascii.Error is raised if
the input is incorrectly padded or if there are non-alphabet
characters present in the input.
Changed in 3.15
  • 3.15: Added the canonical, ignorechars, and padded parameters.
0 Examples
No examples for base64/b32hexdecode.
See Also
No see-alsos for base64/b32hexdecode
0 Notes
No notes for b32hexdecode