Pure Perl version of the crypt function, used by cgi-bin/gliserver.pl. (The version of Perl included with Greenstone on Windows doesn't have crypt built-in).