Cyber Foundations

 

Application Assignment 2 – Krebs on Security

This application assignment involves investigating two recent cybersecurity topics/events covered on the website KrebsOnSecurity.comKrebsOnSecurity.com presents the latest news and investigative reports on cybersecurity. This site is managed by Mr. Brian Krebs, who worked as a reporter for The Washington Post from 1995 to 2009 authoring over 1,000 blog posts for the Security Fix blog and well over 200 articles for The Washington Post newspaper and washingtonpost.com. 
Select two articles from the Website–one that details an information security concern and one that explains a new cybersecurity skill or knowledge.  The articles must have been published in the last six months.  For each of the two articles, you will then go find another article on the same topic from outside the KrebsOnSecurity.com site.  Referencing both articles (e.g., the one from Krebs and the one from somewhere else), your job is to provide a summary of the topic–largely in your own words–explaining how you as a cybersecurity professional would use/apply the information.  Limit your writeups to no more than one page for each of the two topics.  When complete, submit your two writeups as a single Word document via the submission functionality.
To summarize, this assignment involves identifying two articles from KrebsOnSecurity.com–one related to an information security concern and one related to a new security skill or knowledge base.  For each of the two articles, find one other article about the topic from somewhere else, providing you with two perspectives on the same topic.  Then, for each of the two topics you identified, write up a one page summary that incorporates information from both articles (the Krebs one and the non-Krebs one) you found.  Submit the separate writeups via a single, two-page document that clearly delineates between the two different writeups.  
 

practical assement

  

Executive Program Practical Connection Assignment

At UC, it is a priority that students are provided with strong educational programs and courses that allow them to be servant-leaders in their disciplines and communities, linking research with practice and knowledge with ethical decision-making. This assignment is a written assignment where students will demonstrate how this course research has connected and put into practice within their own career.

Assignment:
Provide a reflection of at least 500 words (or 2 pages double spaced) of how the knowledge, skills, or theories of this course have been applied, or could be applied, in a practical manner to your current work environment. If you are not currently working, share times when you have or could observe these theories and knowledge could be applied to an employment opportunity in your field of study. 

Requirements:

Provide a 500 word (or 2 pages double spaced) minimum reflection.

Use of proper APA formatting and citations. If supporting evidence from outside resources is used those must be properly cited. 

Share a personal connection that identifies specific knowledge and theories from this course. 

Demonstrate a connection to your current work environment. If you are not employed, demonstrate a connection to your desired work environment. 

You should NOT, provide an overview of the assignments assigned in the course. The assignment asks that you reflect how the knowledge and skills obtained through meeting course objectives were applied or could be applied in the workplace.  

Final

 Please make  posts on the lessons learned for the Into to Data Mining course 

Leadership Creativity and AI Transformation

The attached journal articles focus on the how positive team culture can correct the impact of lagging leadership creativity. Additionally, we discussed how digital transformation leaders in regard to artificial intelligence (AI).  After reviewing the reading, please answer the following questions:

1. What is your definition of AI?  Please explain.

2. What is your opinion of AI, is the technology currently available? Why or why not?

3. Please note at least four AI technologies, explain if they are truly AI or something else.  Thoroughly explain your answer.

4. How is AI perceived as different in various industries and locations? Please explain.

Format Requirements:

1. The paper must be minimum 3 pages excluding title and references pages. 

2. Include references of at least 5 peer reviewed papers supporting your case study. 

3. The paper must comply APA Format and include a cover page, an  introduction, a body with fully developed content, a conclusion and  references.

cyber security policy catalog

 

  • Create a cybersecurity policy describing the principle, the objective, and policy statement for the law firm’s company network.
  • Describe the roles and responsibilities by groups (e.g., position director of network security, the network security manager, network security engineers, IT area), defining roles and responsibilities.
  • Suggest the cybersecurity policy statement, an explanation of the policy statement, and the reasons why the policy statement may be controversial.
  • Determine the security testing methodology you would use to facilitate the assessment of technical controls.

 Use Microsoft Project, or an open source alternative such as OpenProj, to create a security project plan for the law firm. The project plan should include:

  • Tasks, subtasks, resources, and predecessors.
  • An outline of the planning, analysis, design, and implementation phases.
  • The use of cybersecurity in the information systems development life cycle.

Week 8: Capstone Instructions: Excel 365/2019 – Level 3 Working with Sales Data Alternate with VLOOKUP

Version:1.0 StartHTML:000000203 EndHTML:000078331 StartFragment:000004186 EndFragment:000078212 StartSelection:000004290 EndSelection:000078196 SourceURL:https://devry.simnetonline.com/sp/embed/  SIMnet – Excel 365/2019 Capstone – Level 3 Working with Sales Data Alternate with VLOOKUP         window.SP_CDN = ‘../’;       window.SP_CB = ‘fc826db6f4973d3f8643’;       window.SP_EMBED = true;      

In this project, you will work with sales data from Top’t Corn, a popcorn          company with an online store, multiple food trucks, and two retail stores. You will begin          by copying the sales data for one of the retail stores from another workbook. Next, you          will insert a new worksheet and enter sales data for the four food truck locations,          formatting the data, and calculating totals. You will create a pie chart to represent the          total units sold by location and a column chart to represent sales by popcorn type. You          will format the charts, and then set up the worksheet for printing. Next, you help          Top’t Corn calculate payments for a loan and decide whether or not the purchase is          a good idea. Working with the daily sales data for one of the brick-and-mortar stores, you          will apply conditional formatting to find the top 10 sales dates. Y ou will also calculate          the sales for each date, and the average, minimum, and maximum sales. You will use Goal          Seek to find the appropriate price to reach a higher daily average sales goal. You will          use VLOOKUP to look up sales data for a specific date. Finally, you will work with their          online sales data to format it as an Excel table and apply sorting and filtering. You will          create a PivotTable and a PivotChart from a copy of the online sales data to summarize the          sales. 

Skills needed to complete this        project: 

  • Open a workbook
  • Copy a worksheet to another workbook
  • Close a workbook
  • Insert a worksheet
  • Name a worksheet
  • Move a worksheet
  • Enter text
  • Enter numbers
  • Edit text
  • Autofit a column
  • Apply a cell style
  • Add cell shading
  • Change font color
  • Merge and center text across cells
  • Apply bold formatting
  • Apply number formatting
  • Enter a SUM function
  • Copy formula using AutoFill
  • Insert a pie chart
  • Apply a chart Quick Layout
  • Move a chart
  • Insert a column chart
  • Switch the row/column in a column chart
  • Change the chart title
  • Apply a chart Quick Style
  • Show chart data labels
  • Preview how a worksheet will look when printed
  • Change worksheet orientation
  • Change the print margins
  • Scale a worksheet for printing
  • Change the color of a worksheet tab
  • Apply a column width
  • Calculate a loan payment with PMT
  • Enter a simple formula using multiplication
  • Enter a simple formula using subtraction
  • Add cell borders
  • Create a formula referencing cells in another worksheet
  • Enter an AVERAGE function
  • Use the IF function
  • Hide a worksheet
  • Apply date formats
  • Apply Top Ten conditional formatting
  • Use an absolute reference in a formula
  • Name a range of cells
  • Use a named range in a formula
  • Use the MIN function in a formula
  • Use the MAX function in a formula
  • Wrap text
  • Analyze data with Goal Seek
  • Use the VLOOKUP function in a formula
  • Convert data into a table
  • Apply a table Quick Style
  • Use the table Total row
  • Sort data in a table
  • Filter data in a table
  • Create a PivotTable
  • Create a PivotChart
  • Unhide a worksheet

Note: Download the resource file needed for this project from the         Resources link. Make sure to extract the file after downloading the        resources zipped folder. Visit the SIMnet Instant Help for step-by-step        instructions.       

  1. Open the start file EX2019-Capstone-Level3.
    Note:If the workbook opens in            Protected View, click the Enable Editing button in the Message Bar at the top of the            worksheet so you can modify it
  2. The file will be renamed automatically to include your name. Change the           project file name if directed to do so by your          instructor, and saveit 
  3. Copy the OldTownStoreworksheet from the OldTownSalesworkbook (downloaded from the Resources link) to the capstone project. 
    1. Open the Excel file OldTownSales
    2. Copy the worksheet OldTownStore. In the               Move or Copydialog, be sure to check the               Create a copycheck box and select your capstone project Excel file from the               To bookdrop-down list. Make the correct selection to ensure the copied worksheet              will appear at the end after the TysonsStore2018worksheet in your capstone workbook.             
    3. Close the OldTownSalesworkbook when you have successfully copied the               OldTownStoreworksheet to the capstone workbook.             
    4. Before continuing, verify that you are working in the capstone project that you              downloaded and not the OldTownSalesworkbook that              you downloaded from the Resources link. 
  4. Insert a new worksheet and rename it: MobileSales
  5. If necessary, move the MobileSalesworksheet so it appears first in the workbook.         
  6. In the MobileSales worksheet, enter the text and sales data as shown in the          table below. Check your work carefully. 

A

B

C

D

E

1

Top’t Corn Mobile Sales (July)

2

Truck Location

3

Farragut Square

GW

Georgetown

K Street

4

Old Bay

2500

800

600

900

5

Truffle

3200

600

1200

1500

6

Sea Salt and Caramel

4200

1500

1400

1200

  1. Still working with the MobileSales worksheet, format the data as follows: 
    1. Apply the Titlecell style to cell A1.             
    2. Apply the Purplefill color to cell A1. Use the first color              at the right in the row of Standard colors.             
    3. Apply the White, Background 1font color to cell A1. Use the first color              at the left in the first row of Theme colors.             
    4. Merge and center the worksheet title across cells               A1:E1
    5. Apply the Heading 2cell style to cell B2.             
    6. Merge and center cells B2:E2
    7. Bold cells B3:E3.
    8. Apply the Accounting Number Formatwith 0digits after the              decimal to cells B4:E6.             
    9. AutoFit columns A:E.
  2. In the MobileSales worksheet, calculate total sales for each of the truck          locations. 
    1. Enter the word Total in cell A7
    2. Enter a SUM function in cell B7to              calculate the total of cells B4:B6
    3. Use AutoFill to copy the formula to cells C7:E7.             
    4. Apply the Totalcell style to cells A7:E7.             
  3. In the MobileSales worksheet, insert a pie chart (2-D Pie) to          show the Old Bay sales for the month by location. Each piece of the pie should represent          the Old Baysales for a single location.
    Note:You must complete this step correctly in order to receive points for          completing the next step. Check your work carefully.         
  4. Working with the pie chart you just created, modify the pie chart as follows: 
    1. Apply the Layout 6 Quick Layout
    2. Move the chart so it appears below the sales data.
  5. In the MobileSales worksheet insert a clustered column chart (2-D Column) to          show the sales for each type of popcorn for each location. Do not include the          totals.
    Note:You must complete this            step correctly in order to receive points for completing the next step.Check your work carefully.         
  6. Working with the column chart you just created, modify the column chart as follows:           
    1. If necessary, modify the chart so each location is represented by a data series and              the popcorn types are listed along the x axis. 
    2. Change the chart title to: July Sales by Popcorn Type
    3. Apply the Style 5chart Quick Style.             
    4. Display the chart data labels using the Outside Endoption. 
    5. If necessary, move the chart so it is next to the pie chart and the top of the              charts are aligned. 
  7. Preview how the MobileSales worksheet will look when printed, and then apply          print settings to print the worksheet on a single page. Hint: If you have one of          the charts selected, deselect it before previewing the worksheet. Preview the worksheet          again when you are finished to check your work. 
    1. Change the orientation so the page is wider than it is tall. 
    2. Change the margins to the preset narrow option.
    3. Change the printing scale so all columns will print on a single page. 
  8. Top’t Corn is considering a new truck purchase. Calculate the monthly loan          payments and total cost
    of the loan. 

    1. Insert a new worksheet between the MobileSalessheet and the OnlineSalessheets.             
    2. Name the new worksheet: TruckLoan
    3. Change the color of the TruckLoan worksheet tab to               Orange. Use the third color from the left in the row of              Standard colors. 
    4. Enter the loan terms in the TruckLoan worksheet as shown below. 

A

B

1

Price

55000

2

Interest (annual)

3%

3

Loan term (in months)

24

4

Monthly payment

  1. AutoFit column A.
  2. Set the width of column Bto 16.         
  3. Apply the Currencynumber format to cell B1. Display two digits          after the decimal.         
  4. Enter a formula using the PMTfunction in cell B4. Be sure to use a negative          value for the
    Pvargument.         
  5. In cell A6, type: Total payments
  6. In cell B6, enter a formula to calculate the total paid          over the life of the loan (the monthly payment amount * the number of payments). Use cell          references. 
  7. In cell A7, type: Interest paid
  8. In cell B7, enter a formula to calculate the total          interest paid over the life of the loan (the total payments – the original price of the          truck). Use cell references. 
  9. Apply borders using the Thick Outside Bordersoption around cells A6:B7.         
  10. In cell A9, type: Average sales
  11. In cell B9, enter a formula to calculate the average          sales per month for the truck locations. Hint: Use cells           B7:E7from the MobileSalesworksheet as the function argument.         
  12. Apply the Currencynumber format to cell B9. Display two digits          after the decimal.         
  13. In cell A10, type: Buy new truck?
  14. In cell B10, enter a formula using the           IFfunction to display Yes             if the monthly payment for the truck loan is less than the average          sales per month for the current trucks. Display
    Noif it is not. 
  15. This workbook includes two worksheets for data from the Tysons store. You should only          be working with the latest data from 2019. 
    1. Hide the TysonsStore2018worksheet.             
  16. Complete the following steps in the TysonsStore2019 worksheet:           
    1. Select cells A2:A32, and apply the               Short Datedate format.             
    2. Find the top ten sales items for the month. Select cells               B2:D32and use conditional formatting to              apply a green fill with dark green textto the top 10values.             
    3. In cell F2, enter a formula to calculate the daily              total in dollars. Multiply the value in the Daily Total (#                Sold)column by the current price per box in cell               K1. Use an absolute reference where appropriate and copy              the formula to cells F3:F32.             
    4. In cell G2, enter a formula using the               IFfunction to determine whether the daily sales goal in cell               K2was met. Display yesif the              value in the Daily Total ($)column is               greater than or equal tothe daily sales goal. Display noif it is not. Use an absolute reference where appropriate and copy the              formula to cells G3:G32.             
    5. Create a named range DailyTotals for cells               F2:F32
    6. In cell K3, enter a formula using the named range               DailyTotalsto calculate the               averagedaily
      sales in              dollars. 
    7. In cell K4, enter a formula using the named              rangeDailyTotalsto find the lowestdaily sales
      in dollars.             
    8. In cell K5, enter a formula using the named              rangeDailyTotalsto find the               highestdaily sales
      in dollars.             
    9. Wrap the text in cell J7
    10. Use Goal Seekto find the new price per              box (cell K8) to reach a new daily average sales goal of              $3,000 in cell K7. Accept the solution found by Goal              Seek. 
    11. Modify cell K8to show two places after              the decimal. 
    12. Create a named range SalesData for cells               A2:G32
    13. In cell K10,enter 8/19/2019 as the lookup date.             
    14. In cell K11,enter a formula using VLOOKUP to display whether or not the sales goal              was met for the date listed in cell K10. Use the named              range SalesDatafor the               Table_arrayargument. The formula should return the              value in the Sales Goal Met?column (column               7in the data array) only when there is an               exactmatch.             
  17. Make a copy of the OnlineSalesworksheet and name it PivotData. The           PivotDataworksheet should be the last          worksheet in the workbook.         
  18. Go to the OnlineSalesworksheet and format the sales data as a table using the table style           
    Aqua, Table Style Light 9.         
  19. Continue working with the table on the OnlineSales worksheet and display the          table Totalrow. 
    1. Display the total for the Quantitycolumn.             
    2. Remove the count from the Statecolumn.             
  20. Continue working with the table on the OnlineSales worksheet and sort the data          alphabetically by values in the Itemcolumn.         
  21. Continue working with the table on the OnlineSales worksheet and filter the          table to show only rows where the value in the Statecolumn is MD.         
  22. Create a PivotTable using the data in cells A3:D120from the data in the PivotDataworksheet. The PivotTable should appear on its own worksheet. Use values from          the Itemcolumn as the rows and the sum of          values in the Quantitycolumn as the values.         
  23. Name the PivotTable worksheet: PivotTable It should be located to the left          of the PivotDataworksheet.         
  24. Insert a PivotChart on the PivotTableworksheet. Use a pie chart to represent the total quantity           
    for each item. If necessary, move the PivotChart to the right of the          PivotTable so it does not cover the data.         
  25. This workbook includes a hidden worksheet with online sales data from the 2018 buy one          get one free sale. 
    1. Unhide the BOGOSale2018worksheet.             
  26. Save and close the workbook.
  27. Upload and save your project file.         
  28. Submit project for grading.

Note: Download the resource file needed for this project from the         Resources link. Make sure to extract the file after downloading the        resources zipped folder. Visit the SIMnet Instant Help for step-by-step        instructions.       

  1. Open the start file EX2019-Capstone-Level3.
    Note: If the workbook opens in            Protected View, click the Enable Editing button in the Message Bar at the top of the            worksheet so you can modify it 
  2. The file will be renamed automatically to include your name. Change the           project file name if directed to do so by your          instructor, and save it 
  3. Copy the OldTownStore worksheet from the OldTownSales workbook (downloaded from the Resources link) to the capstone project. 
    1. Open the Excel file OldTownSales
    2. Copy the worksheet OldTownStore. In the               Move or Copy dialog, be sure to check the               Create a copy check box and select your capstone project Excel file from the               Move selected sheets to book drop-down list. Make the correct selection to ensure the copied worksheet              will appear at the end after the TysonsStore2018 worksheet in your capstone workbook.             
    3. Close the OldTownSales workbook when you have successfully copied the               OldTownStore worksheet to the capstone workbook.             
    4. Before continuing, verify that you are working in the capstone project that you              downloaded and not the OldTownSales workbook that              you downloaded from the Resources link. 
  4. Insert a new worksheet and rename it: MobileSales 
  5. If necessary, move the MobileSales worksheet so it appears first in the workbook.         
  6. Enter the text and sales data as shown in the table below. Check your work carefully.         

A

B

C

D

E

1

Top’t Corn Mobile Sales (July)

2

Truck Location

3

Farragut Square

GW

Georgetown

K Street

4

Old Bay

2500

800

600

900

5

Truffle

3200

600

1200

1500

6

Sea Salt and Caramel

4200

1500

1400

1200

  1. Format the data as follows: 
    1. Apply the Title cell style to cell A1.             
    2. Apply the Purple fill color to cell A1. Use the first color              at the right in the row of Standard colors.             
    3. Apply the White, Background 1 font color to cell A1. Use the first color              at the left in the first row of Theme colors.             
    4. Merge and center the worksheet title across cells               A1:E1
    5. Apply the Heading 2 cell style to cell B2.             
    6. Merge and center cells B2:E2
    7. Bold cells B3:E3.
    8. Apply the Accounting Number Format with 0 digits after the              decimal to cells B4:E6.             
    9. AutoFit columns A:E.
  2. Calculate total sales for each of the truck locations. 
    1. Enter the word Total in cell A7
    2. Enter a SUM function in cell B7 to              calculate the total of cells B4:B6
    3. Use AutoFill to copy the formula to cells C7:E7.             
    4. Apply the Total cell style to cells A7:E7.             
  3. Insert a pie chart (2-D Pie) to show the Old Bay sales for the month by          location. Each piece of the pie should represent the Old              Bay sales for a single location.
    Note: You must complete this step correctly in order to receive points for          completing the next step. Check your work carefully.         
  4. Modify the pie chart as follows: 
    1. Apply the Layout 6 Quick Layout
    2. Move the chart so it appears below the sales data.
  5. Insert a clustered column chart (2-D Column) to show the sales for each type of popcorn          for each location. Do not include the totals.
    Note: You must complete this            step correctly in order to receive points for completing the next step. Check your work carefully.         
  6. Modify the column chart as follows: 
    1. If necessary, modify the chart so each location is represented by a data series and              the popcorn types are listed along the x axis. 
    2. Change the chart title to: July Sales by Popcorn Type 
    3. Apply the Style 5 chart Quick Style.             
    4. Display the chart data labels using the Outside End option. 
    5. If necessary, move the chart so it is next to the pie chart and the top of the              charts are aligned. 
  7. Preview how the worksheet will look when printed, and then apply print settings to          print the worksheet on a single page. Hint: If you have one of the charts selected,          deselect it before previewing the worksheet. Preview the worksheet again when you are          finished to check your work. 
    1. Change the orientation so the page is wider than it is tall. 
    2. Change the margins to the preset narrow option.
    3. Change the printing scale so all columns will print on a single page. 
  8. Top’t Corn is considering a new truck purchase. Calculate the monthly loan          payments and total cost
    of the loan. 

    1. Insert a new worksheet between the MobileSales sheet and the OnlineSales sheets.             
    2. Name the new worksheet: TruckLoan
    3. Change the color of the worksheet tab to Orange. Use              the third color from the left in the row of Standard colors. 
    4. Enter the loan terms as shown below.

A

B

1

Price

55000

2

Interest (annual)

3%

3

Loan term (in months)

24

4

Monthly payment

  1. AutoFit column A.
  2. Set the width of column B to 16.         
  3. Apply the Currency number format to cell B1. Display two digits          after the decimal.         
  4. Enter a formula using the PMT function in cell B4. Be sure to use a negative          value for the
    Pv argument.         
  5. In cell A6, type: Total payments 
  6. In cell B6, enter a formula to calculate the total paid          over the life of the loan (the monthly payment amount * the number of payments). Use cell          references. 
  7. In cell A7, type: Interest paid 
  8. In cell B7, enter a formula to calculate the total          interest paid over the life of the loan (the total payments – the original price of the          truck). Use cell references. 
  9. Apply borders using the Thick Outside Borders option around cells A6:B7.         
  10. In cell A9, type: Average sales 
  11. In cell B9, enter a formula to calculate the average          sales per month for the truck locations. Hint: Use cells           B7:E7 from the MobileSales worksheet as the function argument.         
  12. Apply the Currency number format to cell B9. Display two digits          after the decimal.         
  13. In cell A10, type: Buy new truck? 
  14. In cell B10, enter a formula using the           IF function to display Yes             if the monthly payment for the truck loan is less than the average          sales per month for the current trucks. Display
    No if it is not. 
  15. This workbook includes two worksheets for data from the Tysons store. You should only          be working with the latest data from 2019. 
    1. Hide the TysonsStore2018 worksheet.             
  16. Complete the following steps in the TysonsStore2019 worksheet: 
    1. Select cells A2:A32, and apply the               Short Date date format.             
    2. Find the top ten sales items for the month. Select cells               B2:D32 and use conditional formatting to              apply a green fill with dark green text to the top 10 values.             
    3. In cell F2, enter a formula to calculate the daily              total in dollars. Multiply the value in the Daily Total (#                Sold) column by the current price per box in cell               K1. Use an absolute reference where appropriate and copy              the formula to cells F3:F32.             
    4. In cell G2, enter a formula using the               IF function to determine whether the daily sales goal in cell               K2 was met. Display yes if the              value in the Daily Total ($) column is               greater than or equal to the daily sales goal. Display no if it is not. Use an absolute reference where appropriate and copy the              formula to cells G3:G32.             
    5. Create a named range DailyTotals for cells               F2:F32
    6. In cell K3, enter a formula using the named range               DailyTotals to calculate the               average daily
      sales in              dollars. 
    7. In cell K4, enter a formula using the named              range DailyTotals to find the lowest daily sales
      in dollars.             
    8. In cell K5, enter a formula using the named              range DailyTotals to find the               highest daily sales
      in dollars.             
    9. Wrap the text in cell J7
    10. Use Goal Seek to find the new price per              box (cell K8) to reach a new daily average sales goal of              $3,000 in cell K7. Accept the solution found by Goal              Seek. 
    11. Modify cell K8 to show two places after              the decimal. 
    12. Create a named range SalesData for cells               A2:G32
    13. In cell K10, enter 8/19/2019 as the lookup date.             
    14. In cell K11, enter a formula using VLOOKUP to display whether or not the sales goal              was met for the date listed in cell K10. Use the named              range SalesData for the               Table_array argument. The formula should return the              value in the Sales Goal Met? column (column               7 in the data array) only when there is an               exact match.             
  17. Make a copy of the OnlineSales worksheet and name it PivotData. The           PivotData worksheet should be the last          worksheet in the workbook.         
  18. Go to the OnlineSales worksheet and format the sales data as a table using the table

Project 2 – Cipher implementation in Python

The primary goal of this project is to understand how Caesar cipher works. Here, we are using the python programming language to implement the Caesar cipher algorithm. It is not mandatory to know python in order to run the program. The main focus is to understand how the input message is converted into ciphertext with the help of encryption logic and then use a similar pattern to perform decryption. You will be provided with a python code that has implemented encryption logic. Your task is to understand the logic and implement decryption by simply writing the logic explained in the pdf file.