10,668 views
22 22 votes

Consider the following two statements:

  1. A hash function (these are often used for computing digital signatures) is an injective function.
  2. A. encryption technique such as DES performs a permutation on the elements of its input alphabet.

Which one of the following options is valid for the above two statements?

  1. Both are false
  2. Statement (i) is true and the other is false
  3. Statement (ii) is true and the other is false
  4. Both are true

4 Answers

Best answer
26 26 votes

Answer is C.

i. Hash function is not one one or injective. It is many to one.

ii. True. Uses P-Box permutation.

• edited by
11 11 votes

Option (i) Here some asymmetrical algorithms where we apply Hashing (Hashing is a method used to verify data integrity).

1. RSA - named after Rivest, Shamir, and Adleman (investor)

2. Diffie-Hellman (DH)

3. ElGamal - based on the DH echange 

4.Digital Signature Algorithm (DSA)- created by NSA 

5. Eliptic Curve Cryptography (ECC)

Here some most popular Hashing types

1. MD5 (Message Digiest 5)

2. SHA 1

3. SHA 2

4. SHA 3

So we can correctly say it is not injective (one to one).

Option (ii) DES (Digital Encryption Standard) is part of symmetric key algorithm where we use same key to encrypt the data and decrypt the data. so calculating we perform permutation.

Statement (ii) is true and the other is false

 

• edited by
–5 –5 votes
ans d)
Answer:
Position:
Show:

Related questions

28 28 votes
3 answers 3 answers
17.4k
17.4k views
Ishrat Jahan asked Oct 30, 2014
17,423 views
You are given the following four bytes : $$\begin{array}{| c | c | c | c |} \hline 10100011 & 00110111 & 11101001 & 10101011 \\\hline \end{array}$$ Which of the fol...
38 38 votes
4 answers 4 answers
9.2k
9.2k views
Ishrat Jahan asked Oct 29, 2014
9,185 views
A firewall is to be configured to allow hosts in a private network to freely open TCP connections and send packets on open connections. However, it will only allow extern...
1 1 vote
2 2 answers
3.9k
3.9k views
Ishrat Jahan asked Oct 30, 2014
3,939 views
Consider a token ring topology with N stations (numbered 1 to N) running token ring protocol where the stations are equally spaced. When a station gets the token it is al...
3 3 votes
2 answers 2 answers
5.3k
5.3k views
Ishrat Jahan asked Oct 30, 2014
5,296 views
Consider a token ring topology with N stations (numbered 1 to N) running token ring protocol where the stations are equally spaced. When a station gets the token it is al...