Simplyfing generate_salts definition in Installer::addSalts