There are a number of free solutions. If the Mcrypt module is installed, then you're ready to rock (see the PHP manual for details). If Pear is a possibility (not always under your control) then look at Crypt_Blowfish. If you're stuck with "pure" PHP, then take a look at this Blowfish implementation.