MCPcopy
hub / github.com/django/django / sign

Method sign

django/core/signing.py:271–273  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

269 return b62_encode(int(time.time()))
270
271 def sign(self, value):
272 value = "%s%s%s" % (value, self.sep, self.timestamp())
273 return super().sign(value)
274
275 def unsign(self, value, max_age=None):
276 """

Callers 2

test_timestamp_signerMethod · 0.95

Calls 2

timestampMethod · 0.95
signMethod · 0.45

Tested by 2

test_timestamp_signerMethod · 0.76