COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
How could you use a hashing algorithm with alphanumeric data?
|
MOD with an ASCII value
|
|
not possible
|
|
convert to ordinal numbers
|
|
use a random key
|
Explanation:
Detailed explanation-1: -A cryptographic hash function is a hash function which takes an input (or ‘message’) and returns a fixed-size alphanumeric string. The string is called the ‘hash value’, ‘message digest’, ‘digital fingerprint’, ‘digest’ or ‘checksum’.
Detailed explanation-2: -The hash is not an alphanumeric string, it is a string of bits, often 256 (but not always). They are often represented as 32 bytes (each of 8 bits), and these in turn are represented as 2 hexadecima digits (0 to 9 and A to F). So these appear to be 64 characters in 0123456789ABCDEF.
Detailed explanation-3: -Specifically, it will be 256 bits, which is 32 bytes, which is displayed as 64 alphanumeric characters.
There is 1 question to complete.