Fixed the binding to crypt
Merge pull request #572 from vbmithr/master

fixed crypt