Egg::Model::Auth::Crypt::Func - AUTH component to treat code of attestation data by standard function.
package MyApp::Model::Auth::MyAuth; .......... __PACKAGE__->config( crypt_func_md5 => '$1$abcd1234', ); __PACKAGE__->setup_api( File => qw/ Crypt::Func / );
It is API component to treat the password in the attestation data by function crypt of the Perl standard.
'Crypt::Func' is included in the list following API component name specified for 'setup_api' method.
__PACKAGE__->setup_api( DBI => qw/ Crypt::Func / );
When the character of 11 digits that starts from '$1$' is set to 'crypt_func_md5' of the configuration, the code comes to be treated with MD5.
The agreement of CRYPT_PASSWORD and INPUT_PAWWORD is confirmed.
PLAIN_PASSWORD is encrypted.
Egg::Release, Egg::Model::Auth, Egg::Model::Auth::Base::API,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Egg::Release::Authorize, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release::Authorize
CPAN shell
perl -MCPAN -e shell install Egg::Release::Authorize
For more information on module installation, please visit the detailed CPAN module installation guide.