intermediateCore Java Fundamentals58 of 436
Which encryption/hashing mechanism do you use for storing passwords?
Tests whether you know passwords must be hashed with a slow, salted algorithm designed for this purpose (bcrypt, scrypt, or Argon2) rather than encrypted (which is reversible) or hashed with a fast general-purpose function like plain SHA-256, which is vulnerable to brute-force and rainbow-table attacks.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response