Question: Q 2 ( f ) ( 1 6 marks ) The manager of the restaurant is concerned about security so the developer has added a
Qf marks
The manager of the restaurant is concerned about security so the developer has added a hashing algorithm to encrypt the names before they are stored. This code is implemented in the function below:
def enc :
for ch in :
if :
ord
else:
return e
Qfi marks
The code above breaks a number of the guidance rules that you have been taught about in this module.
Identify four distinct rules that have been broken and explain why breaking this rule may be a problem.
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
