sha256crypt-cuda. Use shared valid() and binary() functions.
Closes #943.