Terahertz driven bunch compression and longitudinal diagnostics of 100 keV electron beams