return Digest->new($usable);
}
+sub dump_these {
+ my $c = shift;
+
+ (
+ $c->NEXT::dump_these(),
+
+ $c->sessionid
+ ? ( [ "Session ID" => $c->sessionid ], [ Session => $c->session ], )
+ : ()
+ );
+}
+
__PACKAGE__;
__END__
Also have a look at L<Crypt::Random> and the various openssl bindings - these
modules provide APIs for cryptographically secure random data.
+=item dump_these
+
+See L<Catalyst/dump_these> - ammends the session data structure to the list of
+dumped objects if session ID is defined.
+
=back
=head1 CONFIGURATION