Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def new_key(nbit):
    return Random.new().read(32)
        


src/l/a/lacore-0.1.3/lacore/adf/elements.py   lacore(Download)
from lacore.cipher import cipher_modes, new_key
from lacore.date import today, later
from .serialize import BaseYAMLObject, add_path_resolver
 
 
    def __init__(self, key=None):
        if not key:
            self.key = new_key(256)
        else:
            self.key = key