A computational approach to the Kostant–Sekiguchi correspondence