If you really care about the security of
your data you won't use crypt.
From a cryptographic point-of-view it is
extremely easy to hack.
You'd be better off writing a little perl
encryption/decryption utility using one of the Crypt
modules that you would put on both the SUN and BSD box.