renamed encryption type
convert passwords from char[] to CharSequence