from mac terminal:
md5 -q -s mypassword