We introduce a novel method for generating an arbitrary binary phase wave front with a metal on glass binary amplitude computer-generated hologram. Use is made of the phase delays that occur in total internal reflection and in reflection from a glass-metal interface. The experimental verification is presented by applying the method to reconstruction of a Dammann grating [H. Dammann and K. Görtler, Opt. Commun. 3, 312 (1971)] array generator.