Calcium cyanide is the inorganic compound with the formula Ca(CN)2. It is the calcium salt derived from hydrocyanic acid. It is a white solid, although the pure material is rarely encountered. It slowly hydrolyses in solution or moist air to release hydrogen cyanide and is very toxic.