dohash
if ((digestbuf = dohash(F_MD5, p->fts_accpath)) == NULL) {
if ((digestbuf = dohash(F_RMD160, p->fts_accpath)) == NULL) {
if ((digestbuf = dohash(F_SHA1, p->fts_accpath)) == NULL) {
if ((digestbuf = dohash(F_SHA256, p->fts_accpath)) == NULL) {
if ((digestbuf = dohash(F_SHA384, p->fts_accpath)) == NULL) {
if ((digestbuf = dohash(F_SHA512, p->fts_accpath)) == NULL) {
digestbuf = dohash(flag, p->fts_accpath);
char *dohash(int, const char *);