Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C Programming Int40* loadCryptoVariable(char *cryptoVariableFilename); Returns: A pointer to an Int40 array of 40 random hexadecimal digits read in from the cryptoVariableFilename. Returns NULL

In C Programming

Int40* loadCryptoVariable(char *cryptoVariableFilename);

Returns:

A pointer to an Int40 array of 40 random hexadecimal digits read in from the cryptoVariableFilename. Returns NULL if there is an error during initialization of the cryptoVariable or in the file I/O.

In C Programming

Int40* loadPlainText(char *plainTextFilename);

Note:

Reading the input text will require casting the character or text to an integer compatible format. Therefore it is likely to have an internal function roughly equivalent to the previously define funtion, parseString. Returns: A pointer to an Int40 array of 40 characters read in from the plainTextFilename. Returns NULL if there is an error during conversion of the characters of the plain text or in the file I/O.

Special Cases:

There are two special cases.

In the event there are less than 40 characters in the plainTextFilename this function should pad with the equivalent of spaces.

In the event there are more than 40 characters in the plainTextFilename, the trailing characters should be deleted.

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions

Question

Advance warning and an explanation for the layoff.

Answered: 1 week ago

Question

Assessment of skills and interests.

Answered: 1 week ago