nerdexam
Cisco

210-250 · Question #57

Which statement about digitally signing a document is true?

The correct answer is B. The document is hashed and then the hash is encrypted with the private key. A digital signature signs the hash of a document (not the document itself) using the sender's private key, allowing recipients to verify authenticity and integrity with the corresponding public key.

Security Technologies

Question

Which statement about digitally signing a document is true?

Options

  • AThe document is hashed and then the document is encrypted with the private key.
  • BThe document is hashed and then the hash is encrypted with the private key.
  • CThe document is encrypted and then the document is hashed with the public key
  • DThe document is hashed and then the document is encrypted with the public key.

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    91% (29)
  • C
    3% (1)

Why each option

A digital signature signs the hash of a document (not the document itself) using the sender's private key, allowing recipients to verify authenticity and integrity with the corresponding public key.

AThe document is hashed and then the document is encrypted with the private key.

Encrypting the entire document with the private key is not how digital signing works - only the hash is encrypted, not the document itself.

BThe document is hashed and then the hash is encrypted with the private key.Correct

The document is first run through a cryptographic hash function (e.g., SHA-256) to produce a fixed-length digest, and that digest is then encrypted with the sender's private key to form the signature. This approach is efficient because only the small hash is encrypted rather than the full document, and it proves both identity (only the private key owner could sign it) and integrity (any change to the document produces a different hash).

CThe document is encrypted and then the document is hashed with the public key

The public key is used by recipients to verify (decrypt) the signature, not to hash or encrypt; hashing and signing are separate independent operations.

DThe document is hashed and then the document is encrypted with the public key.

Encrypting the document with the public key describes asymmetric encryption for confidentiality, not a digital signature; digital signatures use the private key to sign.

Concept tested: Digital signature process using private key and hash

Source: https://csrc.nist.gov/publications/detail/fips/186/5/final

Topics

#digital signatures#PKI#private key#hash function

Community Discussion

No community discussion yet for this question.

Full 210-250 Practice