Question: 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

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!