Lightweight algorithm program can secure key exchange.