ripemd160 files with slight derived from openbsd hash/rmd160.c