A crypto exchange executive and a captain of the South Korean army have been arrested for allegedly leaking military secrets to North Korea.