testing password encryption