YOu haven't provided enough inofrmation.
What do you men by fast? <1ms, 1us, 1ns 1ps?
What level of safety you need? If it goes wrong, what's the worst that could happen? What's the SIL (Safety Integration Level)?
Safety engineering is a complex subject, here are a few links to get you...