MCPcopy
hub / github.com/django/django / b64_decode

Function b64_decode

django/core/signing.py:96–98  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

94
95
96def b64_decode(s):
97 pad = b"=" * (-len(s) % 4)
98 return base64.urlsafe_b64decode(s + pad)
99
100
101# RemovedInDjango70Warning: algorithm="sha256"

Callers 2

unsign_objectMethod · 0.85

Calls

no outgoing calls

Tested by 1