As long as they have the same output voltage , it doesn't matter what brand it is. And yes it is safe to use the generic one, only the difference is their service duration. Good brand may last for a long period of time.