Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this in javafx. Create a GUl or text-based program that will read binary data and display. The data may be encrypted by adding

I need this in javafx.

image text in transcribed

Create a GUl or text-based program that will read binary data and display. The data may be encrypted by adding 5 to each byte. 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 flie. 4. Display the numerie values of the data in 16 -byte rows 5. Display the same values a second time. For valuex greater than 31 and less than 127, display the Unicode (ASCII) character. For all other values display a period (.) 6. If the user has selected to decrypt the data. then decrypt the data (subtract 5 ) and repeat steps 4 and 5. 7. Display the total number of byces in the file. At runtime, a text-based program should match the formar of the provided examples. Example 1 - Read and display a file without decryption Enter a file to input: testfile1.dat Apply decryption? (Y/N):N [END OF FILE] 32 bytes Example 2 - Read and display a file applying decryption Enter a file to input: testfile2,dat Apply decryption? (Y/N):Y E= Encrypted values D= Decrypted values Notes - Thir assignment includes 3 data files, Ch17-e1. dat, Ch17-82. dat, Ch17-e3, dat. Run your program against each file. - Some or all the data in each file may be encrypted. - Your program thould be able to handle a file of any size. - You must properly handle all exceptions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

What role in the valuation of Ferrari did R&D expenditure play?

Answered: 1 week ago

Question

collect, organise and store quantitative data in an effective way;

Answered: 1 week ago

Question

Find y'. y= |x + X (x) (x) X 1 02x+ 2x 1 O 2x + 1/3 Ex 2x +

Answered: 1 week ago

Question

What is the environment we are trying to create?

Answered: 1 week ago

Question

How would we like to see ourselves?

Answered: 1 week ago