MD5 por ejemplo .. ese es otro tipo de codificacion .. en un solo sentido ..
Y si lo que buscas es encriptar .. crypt() es otra alternativa en PHP ..
MD5()
<a href='ir.asp?http://www.php.net/manual/es/function.md5.php' target='_blank'>http://www.php.net/manual/es/function.md...</a>
Crypt()
<a href='ir.asp?http://www.php.net/manual/es/function.crypt.php' target='_blank'>http://www.php.net/manual/es/function.cr...</a>
Y mas en el mismo manual leyendo
<a href='ir.asp?http://www.php.net/manual/es' target='_blank'>www.php.net/manual/es...</a>
Un saludo, :P