allow selection of salt method