Computer Science, asked by rajatsony268, 1 year ago

Which of the following are examples of hash functions?
a. MD5
b. Triple-DES
c. SHA-1
d. All of these.

Answers

Answered by apocritia
0

Answer:

MD5 is the example of hash functions whereas SHA-1  and triple DES are cryptographic algorithms which use MD5 as the hash functions.

Explanation:

MD5 ( Message Digest 5) is the widely known hash function. It produces a 128 bit hash value. The algorithm divides 128 bit value into four 32 bit words denoted by A, B, C and D. Each block consists of four similar stages and these are termed as rounds. Each round consists of total 16 operations based on a non linear function.

SHA-1 (Secure Hash Algorithm) is a cryptographic hash function and it produces the 160 bit hash values. The algorithm outputs the the block of 16 words where each word consists of 16 bits, thus making total of 256 bits.

Triple DES- Triple Data encryption is mainly the encryption algorithm. It has two methods one is encryption and other is decryption.

First it takes 64 bit plain text and using DES cipher converts it into cipher text. with the help of 3 keys K1, K2 and K3 . It also uses reverse DES cipher to decrypt the 64 bit cipher text into plaintext.

so finally it is encrypt-decrypt-encrypt processs.

Answered by lovingheart
0

Answer:

All of these  options are examples of hash functions

Explanation:

MD5 algorithm is used in the process of cryptography. It converts input of any length and convert it to a fixed length output.

Triple – DES: It creates more secured encrypted message by using “Block cipher algorithm”. These are applied to all the data block thrice.  

SHA-1: Here, this is once again a cryptographic algorithm where the encrypted data is called “message digest”. It produces 160 bit hash value.

So all the given choices are right.

Similar questions