[Catalyst] password and Catalyst::Plugin::Authentication::CDBI

Andreas Marienborg omega at palle.net
Mon Oct 3 23:47:37 CEST 2005


On 3. okt. 2005, at 21.09, Sai Tong wrote:

> Thanks for the response and explanation . Since I am using Mysql as  
> the backend database, I  am thinking of using  its encryption  
> functions (http://dev.mysql.com/doc/mysql/en/encryption- 
> functions.html) to generate the encrypted password based on user  
> input as request to the catalyst application. Is there any  
> particular reason  that one should not use these database functions  
> to perform such tasks which can be done with Digest::SHA and  
> Digest::MD5 when using with catalyst?


I try to stear away from as much "server specifics" as I can, to make  
porting easier. That way I only have to port the schema for instance,  
and not the application.

andreas




More information about the Catalyst mailing list