We should not generate secreteKey if it is already generated (use static variable as it is constant).