nerdexam
GIAC

GSEC · Question #364

When using Pretty Good Privacy (PGP) to digitally sign a message, the signature is created in a two- step process. First, the message to be signed is submitted to PGP's cryptographic hash algorithm…

The correct answer is C. SHA-l. PGP digital signatures require a cryptographic hash function to produce a message digest, and SHA-1 is one of the supported hash algorithms defined in the OpenPGP standard for this purpose.

Linux and Cryptography

Question

When using Pretty Good Privacy (PGP) to digitally sign a message, the signature is created in a two- step process. First, the message to be signed is submitted to PGP's cryptographic hash algorithm. What is one of the hash algorithms used by PGP for this process?

Options

  • ABlowfish
  • BDES
  • CSHA-l
  • DCast

How the community answered

(31 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    77% (24)
  • D
    10% (3)

Why each option

PGP digital signatures require a cryptographic hash function to produce a message digest, and SHA-1 is one of the supported hash algorithms defined in the OpenPGP standard for this purpose.

ABlowfish

Blowfish is a symmetric block cipher used in PGP for encrypting message content, not for generating the cryptographic hash digest required for signing.

BDES

DES (Data Encryption Standard) is a symmetric block cipher used for bulk data encryption, not a cryptographic hash function, and is not used for message digesting in PGP.

CSHA-lCorrect

SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function supported by the OpenPGP standard (RFC 4880) for computing the message digest in the digital signature process. PGP hashes the plaintext message with SHA-1 to produce a fixed-length digest, which is then encrypted with the sender's private key to form the actual digital signature.

DCast

CAST (e.g., CAST-128) is a symmetric encryption algorithm used in PGP for encrypting session keys and message data, not for the hashing step of the signature process.

Concept tested: PGP digital signature hash algorithm selection

Source: https://www.rfc-editor.org/rfc/rfc4880

Topics

#PGP#digital signatures#SHA-1#cryptographic hash

Community Discussion

No community discussion yet for this question.

Full GSEC Practice