Sodium cyanide is an inorganic compound with the formula NaCN. This highly toxic colorless salt is used mainly in gold mining but has other niche applications. It is an inorganic salt derived from neutralization reactions involving the weak acid hydrogen cyanide