Phobos has SHA1 since v2.061. Use it.
Minor fix: Test app displays a stray '%s' upon error.