hash functions
hash functions
Purpose
Characteristics
Role in E-Commerce
Hash Algorithm
No Keys Required
One-Way Function
SHA-1
SHA-256
Rainbow cracking is an attack that uses precomputed hash tables (rainbow tables) to
quickly crack passwords.
Defense mechanisms:
o Protect hashed password files.
o Limit login attempts.
o Salting: Adds random data to the hash function, making rainbow tables
ineffective.
Definition
A hash function that takes an arbitrary block of data and returns a fixed-size bit
string (hash value).
Any accidental or intentional change to the data alters the hash value.
Characteristics
Easy to compute the hash for any message.
Infeasible to generate a message with a specific hash.
Infeasible to modify a message without changing its hash.
Infeasible to find two different messages with the same hash.
Applications