this is a candidate for header_v3....

it uses out-of-the-box scrypt for work on other platforms (if there's a
binary in place).  we might eventually replace this with something else.
a few more exports
Fixup after rebase