modifying default group key generator