Exemplo n.º 1
0
    # Init Crypter
    crypter = Crypter(verbose)

    # Print warning
    select = input(
        "Content of destination directory will be removed (if exists). Do you want continue? [y/n]\n"
    )
    if (select != "y") and (select != "yes"):
        exit(0)

    temp = dest + '/temp'

    # Print init info
    print("Initializing...")
    crypter.initialize(src, dest)

    # Print analyze info
    print("Analyzing directory...")
    crypter.analyze()

    # Print encryption info
    print("Processing files...")
    crypter.process()

    # Print finalieze info
    print("Finishing processing...")
    crypter.finalize(dest)

    # Print done
    print("Postprocessing is done! Check output files.")