I am no expert, but have had seizure disorder since I was 4.
Couple years ago, 2 I think, the pharmacy started giving me
Phenytoin Sodium (hope spelling is right) in place of dilantin,
so I'm assuming it's the generic. I've had no problem at all with it.
But again, I'd definitely check
with my Doctor before changing any meds. Good luck!