Cold War-era algorithm