Зміст курсу
Cyber Security Fundamentals
Cyber Security Fundamentals
Challenge: Creating Hash Function
Завдання
Now you will create a simple hash function:
- Specify
input_string
andhash_size
as arguments of thesimple_mod_hash()
function. - Use the modulo (
%
) operation to create a hash value inside the function.
Note
hash_size
argument determines the number of possible hash values the function can generate, which is used to keep the hash value within a specific range.
Дякуємо за ваш відгук!
Challenge: Creating Hash Function
Завдання
Now you will create a simple hash function:
- Specify
input_string
andhash_size
as arguments of thesimple_mod_hash()
function. - Use the modulo (
%
) operation to create a hash value inside the function.
Note
hash_size
argument determines the number of possible hash values the function can generate, which is used to keep the hash value within a specific range.
Дякуємо за ваш відгук!
Challenge: Creating Hash Function
Завдання
Now you will create a simple hash function:
- Specify
input_string
andhash_size
as arguments of thesimple_mod_hash()
function. - Use the modulo (
%
) operation to create a hash value inside the function.
Note
hash_size
argument determines the number of possible hash values the function can generate, which is used to keep the hash value within a specific range.
Дякуємо за ваш відгук!
Завдання
Now you will create a simple hash function:
- Specify
input_string
andhash_size
as arguments of thesimple_mod_hash()
function. - Use the modulo (
%
) operation to create a hash value inside the function.
Note
hash_size
argument determines the number of possible hash values the function can generate, which is used to keep the hash value within a specific range.