The Duchess of Sussex has said that for 10 years she was the "most trolled person in the entire world" online.