new config parameters, decrypt common function