handle the case that data is encrypted with '-nosalt' option