Generate random method signature changed to include salt as well as iv generation