Implement various crypt() types