Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE HELP ME WRITE/ MAP OUT THE CODE IN VISUAL STUDIO In this part, your program uses two files as the input. A file Key.dat

PLEASE HELP ME WRITE/ MAP OUT THE CODE IN VISUAL STUDIO

In this part, your program uses two files as the input. A file Key.dat contains the index table, i.e., a sequence of characters where the first character represents 0, the second character represents 1, and so on the last character represents 63. Your program should use this table to encode a text given in the other file named Raw.dat into Base64 format. Your program creates an output file Encoded.dat that should be formatted as shown in the example below, it means characters are separated into groups of 8 with a space between them; each line should contain 6 groups.

INPUT FILES:

Key.dat

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456 789+/

Raw.dat

Reserve your right to think, for even to think wrongly is better than not to think at all. --Hypatia

OUTPUT FILE:

Encoded.dat

4oCcUmVz ZXJ2ZSB5 b3VyIHJp Z2h0IHRv IHRoaW5r LCBmb3Ig ZXZlbiB0 byB0aGlu ayB3cm9u Z2x5IGlz IGJldHRl ciB0aGFu IG5vdCB0 byB0aGlu ayBhdCBh bGwu4oCd IC0tSHlw YXRpYQ==

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

Advances In Databases 28th British National Conference On Databases Bncod 28 Manchester Uk July 2011 Revised Selected Papers Lncs 7051

Authors: Alvaro A.A. Fernandes ,Alasdair J.G. Gray ,Khalid Belhajjame

2011th Edition

3642245765, 978-3642245763

More Books

Students also viewed these Databases questions

Question

Evaluate the following integrals. ,2z e?z dz e2z 4e

Answered: 1 week ago

Question

Describe the importance of self-confidence and self-efficacy.

Answered: 1 week ago

Question

3. Is it a topic that your audience will find worthwhile?

Answered: 1 week ago

Question

2. Does the topic meet the criteria specified in the assignment?

Answered: 1 week ago