in reply to crypt strangeness

FreeBSD's crypt can use different algorithms, such as DES and MD5. Check out man 3 crypt on your FreeBSD box for more info. One technique you could use for cross-platform passwords is to use Digest::MD5 instead of crypt.