MCPcopy
hub / github.com/django/django / _cookie_signer_key

Function _cookie_signer_key

django/core/signing.py:117–119  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

115
116
117def _cookie_signer_key(key):
118 # SECRET_KEYS items may be str or bytes.
119 return b"django.http.cookies" + force_bytes(key)
120
121
122def get_cookie_signer(salt="django.core.signing.get_cookie_signer"):

Callers 1

get_cookie_signerFunction · 0.85

Calls 1

force_bytesFunction · 0.90

Tested by

no test coverage detected