Generalized skew derivations on semiprime rings