CRYPT API: adding crypt_newhash amd crypt_checkpass functions.
github-issue: #73

Signed-off-by: Shawn Webb <lattera@gmail.com>