Phytohaemagglutinin can be deactivated by cooking beans at 100 °C for ten minutes, which is required to degrade the toxin and is much shorter than the hours required to fully cook the beans themselves.