How do you read the user's password, but hide what's typed?

works in Ksh88, Ksh93, and Bash

works in Bash only