Hashing
Hashing
1
Hashing is the transformation of a string of
characters into a usually shorter fixed-length
value or key that represents the original
string.
2
A hash value (or simply hash), also called a
message digest, is a number generated from
a string of text.
4
Hashing also refers to a search technique
or a method of accessing data records,
5
Importance of Hashing
Hashing is used to index and retrieve items
in a database.
6
Importance of Hashing
Hashing plays vital a role in security systems to
ensure that transmitted messages have not been
tampered with.
8
Importance of Hashing
9
Cryptographic Hash
A cryptographic hashFunction
function is a hash function
input - arbitrary block of data
output - a fixed-size bit string
9.11
Cryptographic Hash Function
9.12
Use of Hash
Function
Cryptographic hash functions have many
information security applications
digital signatures
message authentication codes (MACs)
other forms of authentication
9.13
Use of Hash
Function
For example, consider a list of person’s names. Here, name of each
person is of variable length. Searching for a person's name in the list is slow;
time required to retrieve each name may also vary. But if each name could be
hashed to a fixed length integer, then searching and retrieving each name will
be performed in faster with constant time.
9.18
Hash Functions Used in
Cryptography
It feeds the previous hash value (Hi-1) as the
plaintext to be encrypted.
9.19
Application of Hash Function in
Cryptography
Hash functions are used for:
Verifying the integrity of message and file
Verifying password for secure login
fingerprints of keys
authentication
digital signatures
9.20
Application of Hash Function in
Cryptography
Verifying the integrity of files or messages:
Determining whether any changes have been
made to a message, is accomplished by
comparing message digests calculated
before and after transmission
PGDIT, JU 9.24
Application of Hash Function in
Cryptography
Digital Signature:
When making a digital signature,
cryptographic hash functions are generally
used to construct the message digest.
9.26
THANK YOU!!!
27