ProductKeyGenerator class