start of password encryption