Courtesy of https://www.pro-football-reference.com.
Shortest all time: Al Day (1960), Ty Law (1995-2009)
Shortest active: CJ Ham (Sam Webb is tied with many others that is shortest that isn't CJ, DJ, JT, ...)
Shortest HOF: Ty Law (1995-2009)
Longest all time: Dominique Rodgers-Cromartie (2008-2019) -- or Colston Weatherington (2002) if you want to exclude hyphenated names
Longest active: Demetrius Flannigan-Fowles -- or Halapoulivaati Vaitai to exclude hyphenated
Longest HOF: LaDainian Tomlinson (2001-2011)
Edit: I just asked Copilot for the hell of it. Enjoy.
"The current NFL player with the shortest name is Deuce Vaughn, who is listed at 5 feet 5 inches tall. He plays as a running back and is known for his agility and play-making ability despite his stature."