Perl's crypt() function is a very quick and easy to use encryption routine. Unfortunately it has limitations where the length of the string to be encrypted cannot be longer than 8 characters. This limitation does not make it useful when you use it for something serious (The Perl reference/documentation for this function is here)
I'm looking for an alternative to crypt() that you actually can use for something serious, but still have it be very easy to use like the standard crypt() function.
It would also need to have to be a function that encrypts strings that cannot be decrypted. If it is very easy to use I can frequently incorporate it in many sections of my code without writing many bothersome lines of code.