Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/s/m/smeuhsocial-HEAD/apps/django_openid/auth.py   smeuhsocial(Download)
        )
        token = '%s.%s' % (days, int_to_hex(user.id))
        return signed.sign(token, key = (
            self.recovery_link_secret or settings.SECRET_KEY
        ) + self.recovery_link_salt)

src/d/j/django-openid-HEAD/django_openid/auth.py   django-openid(Download)
        )
        token = '%s.%s' % (days, int_to_hex(user.id))
        return signed.sign(token, key = (
            self.recovery_link_secret or settings.SECRET_KEY
        ) + self.recovery_link_salt)

src/s/m/smeuhsocial-HEAD/apps/django_openid/registration.py   smeuhsocial(Download)
    def generate_confirm_code(self, user):
        return signed.sign(int_to_hex(user.id), key = (
            self.confirm_link_secret or settings.SECRET_KEY
        ) + self.confirm_link_salt)
 

src/d/j/django-openid-HEAD/django_openid/registration.py   django-openid(Download)
    def generate_confirm_code(self, user):
        return signed.sign(int_to_hex(user.id), key = (
            self.confirm_link_secret or settings.SECRET_KEY
        ) + self.confirm_link_salt)
 

src/d/j/django_couchdb_utils-0.5/django_couchdb_utils/openid_consumer/registration.py   django_couchdb_utils(Download)
    def generate_confirm_code(self, user):
        return signed.sign(str(user.id), key = (
            self.confirm_link_secret or settings.SECRET_KEY
        ) + self.confirm_link_salt)
 

src/d/j/django-couchdb-utils-HEAD/django_couchdb_utils/openid_consumer/registration.py   django-couchdb-utils(Download)
    def generate_confirm_code(self, user):
        return signed.sign(str(user.id), key = (
            self.confirm_link_secret or settings.SECRET_KEY
        ) + self.confirm_link_salt)
 

src/s/m/smeuhsocial-HEAD/apps/django_openid/tests/signing_tests.py   smeuhsocial(Download)
    def unsign_detects_tampering(self):
        value = 'Another string'
        signed_value = signed.sign(value)
        transforms = (
            lambda s: s.upper(),

src/d/j/django-openid-HEAD/django_openid/tests/signing_tests.py   django-openid(Download)
    def unsign_detects_tampering(self):
        value = 'Another string'
        signed_value = signed.sign(value)
        transforms = (
            lambda s: s.upper(),

src/m/y/mycogia.com-HEAD/apps/django_openid/tests/signing_tests.py   mycogia.com(Download)
    def unsign_detects_tampering(self):
        value = 'Another string'
        signed_value = signed.sign(value)
        transforms = (
            lambda s: s.upper(),