Skip to main content
Question Protected by CommunityBot
Tweeted twitter.com/#!/StackCrypto/status/278439796806934528
use plural in the title
Link
Paŭlo Ebermann
  • 22.8k
  • 7
  • 81
  • 118

What isare the differencedifferences between a digital signature, a MAC and a hash?

move the "the answer should include" part into the answer.
Source Link
Paŭlo Ebermann
  • 22.8k
  • 7
  • 81
  • 118

A message may be accompanied with a digital signaturedigital signature, a MACMAC or a hashmessage hash, as a proof of some kind. What

Which assurances does each primitive provide to the recipient.?

In your answer, please discuss for each primitive:What kind of keys are needed?

  • Integrity: can the recipient be confident that the message has not been accidentally modified?

  • Authentication: can the recipient be confident that the message originates from the sender?

  • Non-repudiation: if the recipient passes the message and the proof to a third party, can the third party be confident that the message originated from the sender? (Please note that I am talking about non-repudiation in the cryptographic sense, not in the legal sense.)

  • Keys: does the primitive require a shared secret key, or public private keypairs?

A message may be accompanied with a digital signature, a MAC or a hash. What assurances does each primitive provide to the recipient.

In your answer, please discuss for each primitive:

  • Integrity: can the recipient be confident that the message has not been accidentally modified?

  • Authentication: can the recipient be confident that the message originates from the sender?

  • Non-repudiation: if the recipient passes the message and the proof to a third party, can the third party be confident that the message originated from the sender? (Please note that I am talking about non-repudiation in the cryptographic sense, not in the legal sense.)

  • Keys: does the primitive require a shared secret key, or public private keypairs?

A message may be accompanied with a digital signature, a MAC or a message hash, as a proof of some kind.

Which assurances does each primitive provide to the recipient?

What kind of keys are needed?

Source Link
Flimm
  • 2.8k
  • 4
  • 16
  • 17

What is the difference between a digital signature, a MAC and a hash?

A message may be accompanied with a digital signature, a MAC or a hash. What assurances does each primitive provide to the recipient.

In your answer, please discuss for each primitive:

  • Integrity: can the recipient be confident that the message has not been accidentally modified?

  • Authentication: can the recipient be confident that the message originates from the sender?

  • Non-repudiation: if the recipient passes the message and the proof to a third party, can the third party be confident that the message originated from the sender? (Please note that I am talking about non-repudiation in the cryptographic sense, not in the legal sense.)

  • Keys: does the primitive require a shared secret key, or public private keypairs?