ITN260 Lab 3 FA22
.doc
keyboard_arrow_up
School
Tidewater Community College *
*We aren’t endorsed by this school
Course
260
Subject
Computer Science
Date
Feb 20, 2024
Type
doc
Pages
4
Uploaded by DeaconGerbil2297
ITN 260
Lab 3
All screen prints should be pasted into the Word document. Format your answers in blue. When completed submit the file under the appropriate link in Canvas before the due date.
I.
History of Cryptography
1.
Encrypt the message “Cyber Rocks” with the ATBASH cipher.
2.
Encrypt the message “Professor Perez is the best” with the Caesar cipher. Tell me what key you are using and in which direction.
3.
Encrypt the original text using the Vigenere cipher from the using the key COMPUTE:
Encryptionisawesome
II.
Symmetric Encryption with ccrypt
From you Cyber Range course, select the Environment: Kali Linux and Vulnerable Windows 7 (2022.9) and start the Primary Machine. environment. Click “start” to start your environment and “join” to get to your Linux desktop login. If necessary, enter login credentials:
Username: student
Password: student
Ccrypt is a symmetric file and stream encryption utility for Linux and Unix that replaces the weaker bcrypt
utility. Ccrypt uses the Rijndael cipher, which is the algorithm on which the Advanced Encryption Standard (AES) is based.
Ccrypt is not installed by default on your Ubuntu Linux virtual machine. Open a terminal and use the Linux package manager to install this software at the command line as follows.
$ sudo apt-get update
[you may be prompted for your ‘sudo password’. On you Virginia
Cyber Range Ubuntu Linux VM it is your student account password.
Probably ‘student’.]
Paste screenshot here.
$ sudo apt-get install ccrypt
Paste screenshot here.
To see all of the command-line options available to ccrypt, use the following command:
$ ccrypt --help
Paste screenshot here.
Next we need a file to encrypt. You can download a text file from the Cyber Range using the command below, or you can create a text file using a text editor on your Linux virtual machine (“Mousepad” on your Ubuntu Linux virtual machine) and save it in your home directory. $ wget artifacts.virginiacyberrange.net/gencyber/textfile1.txt
Paste screenshot here.
You can examine the contents of the file using the Linux ‘cat’ utility as follows. $ cat textfile1.txt
Paste screenshot here.
Use ccrypt
to encrypt your textfile. Ccrypt will ask for an encryption key –type in passphrase at the command line (you will use the same passphrase to decrypt the file) You will NOT see the cursor move, but you are entering it in. The program will prompt you to type in the encryption key again (type in passphrase). Be sure that you are in
the directory location as your text file and encrypt it as follows. The ‘-e’ option is used to specify encryption rather
than decryption.
$ ccrypt -e textfile1.txt
Paste screenshot here.
If you list your directory you should see textfile1.txt.cpt
– the encrypted version of the file replaced the plaintext version. Use the linux ‘cat’ utility to view the file. It should be unintelligible.
$ cat textfile1.txt.cpt
Paste screenshot here.
You could now send this file to someone else and as long as they have the passphrase, they can decrypt and read it. Note that the file textfile1.txt is gone. Don’t forget your encryption key if you want this file back!
Use ccrypt
with the –d
switch to decrypt your file. Be sure to use the same passphrase as in step 3, above.
$ ccrypt –d textfile1.txt.cpt
Paste screenshot here.
Your unencrypted file should be restored to textfile1.txt
(use ‘
cat’
to be sure).
Task 2: Asymmetric Encryption using Gnu Privacy Guard (gpg)
Asymmetric encryption using Gnu Privacy Guard (gpg), an open-source implementation of Pretty-Good Privacy (pgp). Gpg is included in your Kali Linux VM so we don’t need to install anything. Below we will take basic steps to create a public/private key pair, then encrypt a file using our own public key and decrypt it using our own private key. There are lots more features and options, however. Review the man page for the gpg utility for more details.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
MM Image Processing Project
Use your own images that are different than the images in the tutorial file.Include in your report the following only:
1) all the commands producing images,
2) the images produced, and
3) comment briefly on every image showing what was done and describe the result.
All commands and comments MUST BE IN TEXT (NOT IMAGES).You may modify the filters and show the result as well.Compile all commands text that you used in an appendix.Save your WORD file as PDF as well.
arrow_forward
Use the Volts.txt file finding the Highest volt and lowest along with the amp and time of the occurrence
arrow_forward
mesh, Surf, contour and counter3. Add titles, labels etc. to each plot. Separate the plot by
"pause" command
a. z = x3 - y3
b. 22 = x?y2- xy
- 10 s x, y s 10
- 10 s x, ys 10
Open a file and store z1 and 2. Close the file
arrow_forward
Help me how to do a flowchart and Pseudocode in the image?
arrow_forward
Sorry if I want the code read the numbers straight from the file, what should I do? or change.
plz also provide a screenshot. thank you
arrow_forward
1- Start
2- Input the documents
KTP of the new vehicle owner and a photocopy
The original and photocopy of BPKB
Original and photocopy of STNK
Receipt and Fotocopy with stamp and signed by seller and buyer
Documents of the result of the physical vehicle
if(checkdocument==correct)
Display("Physical checks is okay")
else
Display("Please complete document first for physical check")
End if
Next step :- Register the transfer name
Propmt - How will you pay amount for registration
Input : ModeOfPayment=Pay mode
If (ModeOfPayment==Mobile Banking)
Display "Mobile banking option"
else if(ModeOfPayment==bank transfer)
Display "Account Details to the user
else
("Choose any one option")
end if
Prompt: "Please fill registration form now"
Prompt - "enter user name:"
Input name
Prompt "Please enter your complete address"
Input address
if(registerForm==completed)
Validate form
if(ValidateForm==okay)
"Send document archive…
arrow_forward
1- Start
2- Input the documents
KTP of the new vehicle owner and a photocopy
The original and photocopy of BPKB
Original and photocopy of STNK
Receipt and Fotocopy with stamp and signed by seller and buyer
Documents of the result of the physical vehicle
if(checkdocument==correct)
Display("Physical checks is okay")
else
Display("Please complete document first for physical check")
End if
Next step :- Register the transfer name
Propmt - How will you pay amount for registration
Input : ModeOfPayment=Pay mode
If (ModeOfPayment==Mobile Banking)
Display "Mobile banking option"
else if(ModeOfPayment==bank transfer)
Display "Account Details to the user
else
("Choose any one option")
end if
Prompt: "Please fill registration form now"
Prompt - "enter user name:"
Input name
Prompt "Please enter your complete address"
Input address
if(registerForm==completed)
Validate form
if(ValidateForm==okay)
"Send document archive
else
"Please fill the correct form first"
end if
else
Display…
arrow_forward
In some documents, you may not want to restart page numbering on any page of your document. For example, you may want to restart the page numbering for yor document's Works Cited section.
arrow_forward
Computer Science
Import data from anywhere by using Web Scraper and save data in a .csv file. By using google meet/Zoom/any media, record you’re your entire process with your voice. Preserve the recorded file, .csv file in the same folder where you have preserved the excel file for other questions. Rename the recorded file name with your ID and question number. Don’t forget to upload the .csv file. File name should be Your_ID_Question_number.csv.
arrow_forward
8- To search for a missing word we use the path (page
Home- Search).
O right
O wrong
9- To replace a word or several words within the written
text, we use the path (insert - replace).
mistake
corect
10- To use the text box is to add a paragraph or an image within
a specific area within the written paragraphs.
Error
corect
11- To typeset and arrange the writing paragraphs, we use the instruct
Paragraph centering.
Error
coract
arrow_forward
With python
When opening a document as csvfile and using: csv.reader(csvfile, delimiter=';')
How do I get it to not read the first two lines?
arrow_forward
CLIP PERMANENTLY DELETES ALL OF THE CLIPPED LINES. (T/F)
arrow_forward
Ensure the file has headers and footer with our name and date. List the six questions below. Create a paragraph (<p>) for the question answer.Create six buttons that when selected, updates the above paragraph to the answer. Use some of the coloring and formatting tags we've learned. Be creative!
1. What are the five or six key issues we need to focus on when gathering data? Provide an explanatory sentence for each. 2. What are the six data techniques (in section 8.7). Consider creating a Marist parking app - would techniques would you use for capturing data requirements? 3. What is the format (syntax) of a user story?4. What are the five types of requirements, and list at least one of each type. 5. What are the seven product dimensions? 6. Compare and contrast persona and scenario.
arrow_forward
Please view attachment before answering. The attachment is the table and its contents. I am in need of assistance with both part A. I am unsure on how i can go about attempting the question. I am using mysql terminal. Please explain solution in detail so i can fully understand . Attaching a visual will be of great help as well. (as in a screenshot or so) Thank you so much in advance!
Part A - Display the employee number, hire date, number of months employed, last day of the hire month from employee. Give the number of months employed as ‘months_worked’
Hint: Use TIMESTAMPDIFF(month,hire_date,CURDATE()) to get the number of months employed. Use LAST_DAY() with appropriate argument to get the last day of the hire month
arrow_forward
In the Vim text editor, the user can insert a copied text by positioning the cursor on the initial letter of a word and typing "x" followed by "p". Please provide more context or information about what you are referring to.
arrow_forward
Q/ use the script file to draw the
pattern bellow:
arrow_forward
Please view attachment before answering. The attachment includes the tables and its contents. I am in need of assistance with both parts, A and B. I am unsure on how i can go about attempting the question. I am using mysql terminal. Please explain solution in detail so i can fully understand . Attaching a visual will be of great help as well. (as in a screenshot or so) Thank you so much in advance!
Part A - Modify the SELECT statement to perform a right join. Run the SQL and verify the result table includes genres that are not associated with any songs.
Part B - Combine the left and right joins into one statement that performs a full join. Run the SQL and verify the result table includes all songs and genres.
**** use keyword UNION, since MySQL does not support FULL JOIN
arrow_forward
Also attach the SS.
arrow_forward
Also attach the SS.
arrow_forward
What Paste option would you choose if you wanted to maintain the formatting of the copied cell, but not its contents?
Formatting
Keep Formatting Only
Paste
Keep Source Formatting
arrow_forward
Why would I unpin the playlist before deleting it?
arrow_forward
Create a screenshot from your computer's installed RAM.
2. Annotate the screenshot with your name, course code and date
3. Submit screenshot
arrow_forward
Move the appropriate file types from the list on the left to the correct descriptions on the right.
File Types (Icons)
XE
F
E
4
Answer Area
A file where you create the user interface
allowing you to display information and react to
user input.
A file that contains all the setup information for
your app.
A file that contains coded app logic.
A file that contains a list of available resources
to be used in the project.
arrow_forward
Define names for the cells in the range D5:D7 based on the values in the range C5:C7.
arrow_forward
Write Complete ASP.Net/C# code to
Store Your Own Image to the Database
Store a video clip to database
Display the contents of an Excel file in GridView (Showing your own FYP Group Member Details)
Export/Print the GridView contents to the PDF file (Rename the file with your RegNo)
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning
Related Questions
- MM Image Processing Project Use your own images that are different than the images in the tutorial file.Include in your report the following only: 1) all the commands producing images, 2) the images produced, and 3) comment briefly on every image showing what was done and describe the result. All commands and comments MUST BE IN TEXT (NOT IMAGES).You may modify the filters and show the result as well.Compile all commands text that you used in an appendix.Save your WORD file as PDF as well.arrow_forwardUse the Volts.txt file finding the Highest volt and lowest along with the amp and time of the occurrencearrow_forwardmesh, Surf, contour and counter3. Add titles, labels etc. to each plot. Separate the plot by "pause" command a. z = x3 - y3 b. 22 = x?y2- xy - 10 s x, y s 10 - 10 s x, ys 10 Open a file and store z1 and 2. Close the filearrow_forward
- Help me how to do a flowchart and Pseudocode in the image?arrow_forwardSorry if I want the code read the numbers straight from the file, what should I do? or change. plz also provide a screenshot. thank youarrow_forward1- Start 2- Input the documents KTP of the new vehicle owner and a photocopy The original and photocopy of BPKB Original and photocopy of STNK Receipt and Fotocopy with stamp and signed by seller and buyer Documents of the result of the physical vehicle if(checkdocument==correct) Display("Physical checks is okay") else Display("Please complete document first for physical check") End if Next step :- Register the transfer name Propmt - How will you pay amount for registration Input : ModeOfPayment=Pay mode If (ModeOfPayment==Mobile Banking) Display "Mobile banking option" else if(ModeOfPayment==bank transfer) Display "Account Details to the user else ("Choose any one option") end if Prompt: "Please fill registration form now" Prompt - "enter user name:" Input name Prompt "Please enter your complete address" Input address if(registerForm==completed) Validate form if(ValidateForm==okay) "Send document archive…arrow_forward
- 1- Start 2- Input the documents KTP of the new vehicle owner and a photocopy The original and photocopy of BPKB Original and photocopy of STNK Receipt and Fotocopy with stamp and signed by seller and buyer Documents of the result of the physical vehicle if(checkdocument==correct) Display("Physical checks is okay") else Display("Please complete document first for physical check") End if Next step :- Register the transfer name Propmt - How will you pay amount for registration Input : ModeOfPayment=Pay mode If (ModeOfPayment==Mobile Banking) Display "Mobile banking option" else if(ModeOfPayment==bank transfer) Display "Account Details to the user else ("Choose any one option") end if Prompt: "Please fill registration form now" Prompt - "enter user name:" Input name Prompt "Please enter your complete address" Input address if(registerForm==completed) Validate form if(ValidateForm==okay) "Send document archive else "Please fill the correct form first" end if else Display…arrow_forwardIn some documents, you may not want to restart page numbering on any page of your document. For example, you may want to restart the page numbering for yor document's Works Cited section.arrow_forwardComputer Science Import data from anywhere by using Web Scraper and save data in a .csv file. By using google meet/Zoom/any media, record you’re your entire process with your voice. Preserve the recorded file, .csv file in the same folder where you have preserved the excel file for other questions. Rename the recorded file name with your ID and question number. Don’t forget to upload the .csv file. File name should be Your_ID_Question_number.csv.arrow_forward
- 8- To search for a missing word we use the path (page Home- Search). O right O wrong 9- To replace a word or several words within the written text, we use the path (insert - replace). mistake corect 10- To use the text box is to add a paragraph or an image within a specific area within the written paragraphs. Error corect 11- To typeset and arrange the writing paragraphs, we use the instruct Paragraph centering. Error coractarrow_forwardWith python When opening a document as csvfile and using: csv.reader(csvfile, delimiter=';') How do I get it to not read the first two lines?arrow_forwardCLIP PERMANENTLY DELETES ALL OF THE CLIPPED LINES. (T/F)arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LNew Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning