Docsity

Digital Signatures and Hashing Functions: A Comprehensive Overview, Schémas de Système d’Information et Numérique

Aperçu partiel du texte

Télécharge Digital Signatures and Hashing Functions: A Comprehensive Overview et plus Schémas au format PDF de Système d’Information et Numérique sur Docsity uniquement!

Information System Security

Digital Signature and Hashing Functions

Digital signature and Hashing

  • (^) Message authentication
    • (^) Hash function
    • (^) Message Authentication Code MAC
  • (^) Digital signature

Message authentication

  • (^) Message authentication is a mechanism or service used to verify the integrity of a message. Message authentication assures that data received exactly as sent.
  • (^) The two most common cryptography techniques for message authentication are a message authentication code ( MAC ) and a secure hash function.
  • (^) A hash function maps a variable-length message into a fixed hash value, or message digest. For message authentication, a secure hash function must be combined in some fashion with a secret key.

Hash Functions

• A hash function accepts a variable-size

message M as input and produces a fixed-

size output, referred to as a hash code.

• Unlike MAC, a hash code does not use a

key but a function only of the input

message.

• The hash code is also referred to as a

message digest or hash value.

11.3 Message Authentication Code MAC

  • (^) Use of secret key to generate a small fixed size block of data, known as a cryptographic checksum or MAC that is appended to the message.
  • (^) This technique assumes that the two communicating parties, say A and B, share a common secret key K.
  • (^) When A has a message to send to B, it calculates the MAC as a function of the message and the key, where the message plus MAC are transmitted to the intended recipient.
  • (^) The recipient performs the same calculation on the received message, using the same secret key, to generate a new MAC.
  • (^) The received MAC is compared to the calculated MAC.

8

Message Authentication Code

MAC=C(K,M) M: input message C: MAC Functionn K: shared secret key MAC: Message Authentication Code

Direct Digital Signatures

  • (^) The direct digital signature involve only sender &

receiver (source & destination)

  • (^) It is assumed that receiver has sender’s public-

key

  • (^) digital signature may be formed by encrypting

the entire message with the sender’s private

key. or by encrypting a hash code of the

message with the sender’s private key.

  • (^) security depends on sender’s private-key

Direct Digital Signatures