Exemple #1
0
def crypt_files(file_list):
    """Crypt some files"""
    for file_name in file_list:
        file_data = u.get_asset_file(file_name)
        file_data = u.crypt_raw(file_data)
        u.write_lib_file(file_name, file_data)
Exemple #2
0
def crypt_files(raw_file):
    """Crypt some files"""
    for file_name in raw_file:
        file_data = u.get_raw_file(file_name)
        file_data = u.crypt_raw(file_data)
        u.write_raw_file(file_name, file_data)
Exemple #3
0
def crypt_files(raw_file):
    """Crypt some files"""
    for file_name in raw_file:
        file_data = u.get_raw_file(file_name)
        file_data = u.crypt_raw(file_data)
        u.write_raw_file(file_name, file_data)