pub fn stepped_gen_pow( salt: String, phrase: String, difficulty_factor: u32, step: usize, f: &Function ) -> String