Added salt and length as attributes in output XML