Self-powered EA4Pb3Br10 ferroelectric perovskite photodetector for single-pixel imaging and encrypted optical communication | Synapse