use xcrypt.h if available