Sodium cyanide is an inorganic compound with the formula NaCN. It is a white, water-soluble solid. Cyanide has a high affinity for metals, which leads to the high his salt. Its main application, in gold mining, also exploits its high reactivity toward metals. It is a strong base.