Quiz #4 Flashcards
What is a one way hash
A function (usually mathematical) that takes a variable-length string,a message, and compresses and transforms it into a fixed-length value referred to as a hash value.
What is a message digest.
A hash value
What does a one hash value provides
A fingerprint to identify a specific message
What is the goal of a one way hash
To ensure that message has not be altered during transmission.
Hashing function
Usually an algorithm that is not secret - publicly known.
How hashing function Runs
In one direction, not the other direction. The receiver does not attempt to reverse the process at the other end, but instead runs the samehashing function one way and compares the two results.
Difference between one way hashing and one way function used on public key cryptography.
In public key cryptography, the security is provided because it is very hard, without knowing the key, to perform the one-way function backwards on a message and come up with readable plaintext. However, one-way hash functionsare never used in reverse; they create a hash value and call it a day.
How to make a one way hashing value visible to a specific person only
Since hashing one-way function takes place without the use of any keys.anyone who receives the message can run the hash value and verify the message’s integrity.
However, if a sender only wants a specific person to be able to view the hash value sent with the message, the value would be encrypted with a key. This is referred to as the message authentication code (MAC).
What is Message Authentication Code (MAC)
A one-way hash value that is encrypted with a symmetric key.
A MAC is a key dependent one-way hash function
One-Way Function Used in Public Key Cryptography
Provide confidentiality and authentication, only private key can reverse the one-way function to result in plaintext.
Function encrypts in one Direction and then decrypts in the reverse direction.
One-Way Hashing Function
Provides integrity of a message, not confidentiality or authentication
It is never performed in reverse
The results of a one-way hash is a hashing value.
It is used in hashing to create a fingerprint for a message.
what is a digital signature
A digital signature is an encrypted hash value of a message.
Hashing function and digital signature of hash value
Hashing ensures the integrity of the message
Digital signature of hash value provides authentication and nonrepudiation
What the act of signing means
The act of signing just means that the hash value of a message was encrypted with a private key.
Choices within cryptography
- A message can be encrypted, which provides confidentiality.
- A message can be hashed, which provides integrity
- A message can be digitally signed, which provides authentication and integrity.
- A message can be encrypted and digitally signed, which provides confidentiality, authentication, and integrity.