# Using the os.walk() function, write a script that will go through every PDF
# in a folder (and its subfolders) and encrypt the PDFs using a password provided
# on the command line. Save each encrypted PDF with an _encrypted.pdf suffix added
# to the original filename.
#
# Before deleting the original file, have the program attempt to read and decrypt the
# file to ensure that it was encrypted correctly.

# Using the os.walk() function, write a script that will go through every PDF
# in a folder (and its subfolders) and encrypt the PDFs using a password provided
# on the command line. Save each encrypted PDF with an _encrypted.pdf suffix added
# to the original filename.
#
# Before deleting the original file, have the program attempt to read and decrypt the
# file to ensure that it was encrypted correctly.

# Get all PDF files in directory

# Get password from user

# Encrypt list of PDF files with password

# Append suffix when saving encrypted file

# Attempt to read and decrypt encrypted file

# Delete original file

Update P1_encryptPDFparanoia added outline