Question
What is a 'hash function' in cryptography and what property makes it suitable for password storage?
Solution
Hash functions (SHA-256, bcrypt, Argon2) produce a fixed-length digest from any input. They are deterministic (same input β same hash), one-way (cannot reverse the hash to get the password), and have avalanche effect (tiny input change β completely different hash). Databases store password hashes, not plain text β if the database is breached, attackers cannot recover passwords. Salt (random string added before hashing) prevents rainbow table attacks.
- In time series forecasting, what does MAE stand for?
- What is the purpose of flow control in data communication?
- Β Which component is used to store electric charge in an electronic circuit?
- The below mentioned code is in which programming language type array-identifier = array[index-type] of element-type;
- Which type of flip-flop is most commonly used for storing the state of synchronous digital systems?
- In RAID 5, how is data striping combined with parity information?
- An ADT defines:
- Which component allows current to flow in one direction and blocks it in the opposite direction?
- Which phase involves creating detailed plans, schedules, and resource allocation for the software project? Β
- Which storage technology uses optical discs to store data and is commonly used for distributing software, movies, and music?