added crypt support