apps/md5: improve