Question: Title: Planning Document for Hash - Based Cipher Requirements - The program shall accept plaintext input from the user. - The program shall process the
Title: Planning Document for HashBased Cipher
Requirements
The program shall accept plaintext input from the user.
The program shall process the plaintext using a hashbased cipher algorithm.
The program shall generate and display the hashed output to the user.
The program shall support alphanumeric characters and spaces.
The program shall ensure that the same input produces the same hash output.
Functions
InputHandler:
Description: Accepts plaintext input from the user and validates it
Inputs: Userentered string.
Outputs: Validated plaintext.
HashGenerator:
Description: Converts the plaintext into a hashed output using an algorithm based on ASCII manipulation and modular arithmetic.
Inputs: Validated plaintext string.
Outputs: Hashed string.
OutputDisplay:
Description: Displays the hashed output to the user.
Inputs: Hashed string.
Outputs: Printed hashed output on the console or GUI.
Challenges and Considerations
Ensuring proper validation of user input to prevent empty or invalid input.
Selecting a simple yet illustrative hashing logic to demonstrate core concepts.
Maintaining the consistency and integrity of the hash function.
Future TODO:
Research more advanced cryptographic algorithms.
Implement additional features like salt to prevent hash collisions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
