Corrected the length of the salt for private key encryption
This would corrupt the private key file whenever the DES cipher would get selected.