crypt_set_format
int crypt_set_format(const char *);
if (!crypt_set_format(cipher))
if (crypt_set_format("des") == 0) {