I don't think that this sort of effort is the result of legislators not understanding the technology or as a reaction to "a few bad actors". Those things only look true because of the highly disingenuous arguments they're making.
They actively want to prevent effective encryption from being in common use solely because it restricts their ability to spy on you and me, thus limiting their power.