Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)

src/d/a/Dandelion-Message-Service-HEAD/dandelionpy/dandelion/identity.py   Dandelion-Message-Service(Download)
"""
 
from dandelion.util import encode_int, encode_b64_bytes
import hashlib
import random
        if self._fp is None: # Lazy hashing
            h = hashlib.sha256()
            h.update(encode_int(self._rsa_key.n))
            h.update(encode_int(self._rsa_key.e))
            h.update(encode_int(self._dsa_key.y))
            h.update(encode_int(self._dsa_key.g))

src/d/a/Dandelion-Message-Service-HEAD/dandelionpy/dandelion/message.py   Dandelion-Message-Service(Download)
 
            if self._timestamp is not None:
                h.update(dandelion.util.encode_int(self._timestamp))
 
            if self._receiver_fp is not None: