Skip to content
GK24
Computer AwarenessMedium

Which of the following is a hash function and not an encryption algorithm?

  1. A.AES
  2. B.DES
  3. C.MD5
  4. D.Blowfish

Correct answer

C. MD5

Explanation

The correct answer is C, MD5. The Message Digest 5 algorithm takes an input of any length and returns a 128-bit digest. It uses no key, and the process cannot be reversed to recover the input, which is exactly why it is a hash and not a cipher; hashes are used to check that a file or password has not been altered. Options A, B and D are all symmetric block ciphers that encrypt and decrypt with a shared key. AES, chosen in 2001 from the Rijndael design, works on 128-bit blocks with keys of 128, 192 or 256 bits. DES, from the 1970s, used a 56-bit key on 64-bit blocks and is now considered breakable. Blowfish is another block cipher of the same family. The other names in the hash family worth remembering are SHA-1, which gives 160 bits, and SHA-256, which gives 256 bits and is used in blockchains.

Read the full article: Encryption, Digital Signatures and SSL/HTTPS for Exams

View all
Q1.Computer AwarenessAsked in: SSC CHSL · 01 Jul, 2024, Shift 4Easy

Symmetric encryption is also known as:

  1. A.public-key encryption
  2. B.asymmetric encryption
  3. C.conventional encryption
  4. D.hybrid encryption
Show answer
Correct answer: C. conventional encryption

Symmetric encryption uses one shared secret key for both locking and unlocking data, and because it is the older and simpler of the two families it is variously called conventional, secret key or private key encryption.

Q3.Computer AwarenessEasy

What is the full form of SSL, the protocol whose successor secures websites today?

  1. A.Secure Socket Line
  2. B.Secure Sockets Layer
  3. C.System Security Layer
  4. D.Secure Server Link
Show answer
Correct answer: B. Secure Sockets Layer

SSL was developed by Netscape in the mid-1990s to encrypt the traffic between a web browser and a web server, and its successor, Transport Layer Security or TLS, standardised from 1999, is what actually protects websites now; the older name survives in common speech and in the phrase SSL certificate.

Q5.Computer AwarenessMedium

The RSA algorithm, published in 1977, is an example of which kind of cryptography?

  1. A.Symmetric key cryptography
  2. B.Public key cryptography
  3. C.Hashing
  4. D.Steganography
Show answer
Correct answer: B. Public key cryptography

RSA, named after Rivest, Shamir and Adleman, works with a linked pair of keys and takes its security from the difficulty of factorising the product of two large prime numbers; it is used both to exchange keys and to create digital signatures.