- COPYRIGHT AND LICENSE
Egg::Model::Session::ID::SHA1 - SHA1 is used for session ID.
package MyApp::Model::Sesion; __PACKAGE__->startup( ..... ID::SHA1 );
It is a component module to use the HEX value obtained with Digest::SHA1 for session ID.
'id_length' is accepted to the configuration.
__PACKAGE__->config( id_length => 32, );
It becomes 32 at the unspecification.
The value obtained by 'sha1_hex' function of Digest::SHA1 is returned.
The format of SESSION_ID is checked and the result is returned.
Masatoshi Mizuno <email@example.com>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
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.