Question: write the program in javafx Your program must Allow a user to select a file for input. Allow the user to select whether to decrypt

write the program in javafx

Your program must

  1. Allow a user to select a file for input.
  2. Allow the user to select whether to decrypt the data.
  3. Read the data from the file.
  4. Display the numeric values in rows, 16 values per row
  5. Display the same values a second time.
  1. For values greater than 31 and less than 127, display the equivalent ASCII character.
  2. For values less than or equal to 31 and for values greater than or equal to 127, display a period (.) with a space on either side.
  1. If the user has selected to decry data, then decrypt the data (subtract 5) and repeat steps 4 and 5.
  2. Keep a count of how many indvidual bytes have been read and display the total number of bytes in the file after all bytes have been read and displayed.

Notes

  • This assignment includes 3 data files, Ch17-01. dat, Ch17-02. dat, Ch17-03. dat. Run your program against each file.
  • Some or all the data in each file may be encrypted.
  • Your program should be able to handle a file of any size.
  • You must properly handle all exceptions.
 write the program in javafx Your program must Allow a user

Apply decryption? ( Y/N):N 021069255160043036050119033240239238224208128129 32 bytes Example 2 - Read and display a file applying decryption Apply decryption? (Y/N): Y E= Encrypted values D= Decrypted values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!