On this page
base64.b32hexencode
Prev: base64.b32hexdecode | Up: base64 | Next: base64.b64decode
Rel: base64.a85decode, base64.a85encode, base64.b16decode, base64.b16encode
Ref: docs.python.org — base64.b32hexencode
Tags: #public #python3 #stdlib #base64
Import
import base64
from base64 import b32hexencode
Signature & Overview
base64.b32hexencode(s)
Encode the bytes-like objects using base32hex and return a bytes object.
Usage
import base64
assert base64.b32hexencode(b"Hi") == b"91KG===="
Gotchas
- Requires Python 3.10+: Distinct from standard
b32encode()(A-Z,2-7).
REPL Inspect
from base64 import b32hexencode
help(b32hexencode)
Linked from
Related notes
- tuts/python3/stdlib_module/base64 Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b32hexdecode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b64decode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/a85decode Linked here; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/a85encode Linked here; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b16decode Linked here; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b16encode Linked here; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib