working through password encryption