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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Returns a string of 'n' random bytes.

src/m/i/mixminion-HEAD/lib/mixminion/BuildMessage.py   mixminion(Download)
    seed = Crypto.sha1(tag+userKey+"Generate")[:16]
    prng = Crypto.AESCounterPRNG(seed)
    secrets = [ prng.getBytes(SECRET_LEN) for _ in xrange(17) ]
 
    return _decodeReplyPayload(payload, secrets, check=1)