http://qs1969.pair.com?node_id=11133909


in reply to Re^3: Replacing crypt() for password login via a digest - looking for stronger alternative
in thread Replacing crypt() for password login via a digest - looking for stronger alternative

From personal experience, passwords are mostly harvested in 3 ways: Data breaches, emails that redirect to fake "password change" forms and from just plainly asking people for their passwords.

perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'