Adding support for SHA256-CRYPT and SHA512-CRYPT.

fixes #450
fixes #493