Module ImportFrom alias alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list FunctionDef arguments args defaults vararg body Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpBitXor Call NameLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list
N/A uliweb settings functions uliweb.utils.common import_attr application_path hashlib md5 get_cipher N/A N/A key keyfile N/A None None N/A N/A 
    Get cipher object, and then you can invoke:
        des = get_cipher()
        d = des.encrpy('Hello')
        print des.descrpy(d)
     N/A des_func N/A import_attr N/A N/A settings SECRETKEY CIPHER_CLS N/A kwargs N/A N/A settings SECRETKEY CIPHER_ARGS N/A N/A key N/A N/A key N/A N/A functions get_cipher_key keyfile N/A cipher N/A des_func key kwargs N/A cipher N/A encrypt N/A N/A v key keyfile N/A None None N/A N/A 
    Encrypt an string
     N/A cipher N/A N/A functions get_cipher key keyfile N/A N/A N/A cipher encrypt v N/A decrypt N/A N/A v key keyfile N/A None None N/A N/A 
    Encrypt an string
     N/A cipher N/A N/A functions get_cipher key keyfile N/A N/A N/A cipher decrypt v N/A get_key N/A N/A keyfile N/A None N/A N/A 
    Read the key content from secret_file
     N/A keyfile N/A keyfile N/A application_path N/A N/A settings SECRETKEY SECRET_FILE N/A N/A file keyfile rb f N/A N/A N/A N/A f read N/A get_cipher_key N/A N/A keyfile N/A None N/A N/A 
    Create key which will be used in des, because des need 8bytes chars
     N/A _key N/A get_key keyfile N/A _k N/A N/A N/A md5 _key hexdigest N/A key N/A xor N/A _k N/A 8 N/A _k N/A 8 16 N/A _k N/A 16 24 N/A _k N/A 24 N/A key N/A xor N/A N/A N/A args N/A N/A arg1 N/A args N/A 0 N/A arg N/A args N/A 1 N/A N/A s N/A N/A N/A i ch N/A enumerate arg N/A N/A N/A N/A s append N/A chr N/A N/A ord N/A arg1 N/A i N/A ord ch N/A arg1 N/A N/A join s N/A arg1 N/A