All-in-one, bio-inspired, and low-power crypto engines for near-sensor security based on two-dimensional memtransistors