Query for Private Input

How might I write a shell script that queries a user for information that is sensitive (say a password)-- and does something like:

Password? ******** <---- the user's entered information

or

Password? <---- the user's entered information

------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------

Hiding the information that is entered, as it's entered

---------- Post updated at 03:02 PM ---------- Previous update was at 02:02 PM ----------

Solution is:

stty -echo

to hide input

stty echo

to unhide input