A mechanism for the fluorogenic reaction of amino groups with fluorescamine and MDPF.