Question: Create a basic hash function in a programming language of your preference. The function should take as input a password in form of a string
Create a basic hash function in a programming language of your preference. The function should take as input a password in form of a string and should produce a sequence of integer numbers based on that string. You could devise your own approach to create this function or you could:
i take each letter of the string and convert in its ASCII value,
ii multiply it by a specific number based on its position in the alphabet,
iii add the values together and add your date of birth at the end.
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
