Why is scrypt safer than MD5 or SHA-256 for passwords?
MD5 and SHA-256 are extremely fast, allowing modern GPUs to test billions of candidates per second. Scrypt is artificially memory-hard, making hardware dictionary attacks too expensive to execute.