LibWeb

 view release on metacpan or  search on metacpan

LibWeb/Digest.pm  view on Meta::CPAN


  -data=>, -key=>, -algorithm=>, -format=>

Pre:

=over 2

=item *

C<-data> is the data from which the digest is to be generated,

=item *

C<-key> is the private key such that the digest generated is unique to
that key (sorry, I do not have a rigorous definition for that right
now),

=item *

C<-algorithm> must be either 'Digest::MD5' or 'Digest::SHA1',

=item *

C<-format> is the format of the digest, which must be 'binary', 'hex'
or 'b64'.

=back

Post:

=over 2

=item *

Generate a digest and return it.

=back

=head1 AUTHORS

=over 2

=item Colin Kong (colin.kong@toronto.edu)

=back

=head1 CREDITS

=over 2

=item Lincoln Stein (lstein@cshl.org)

=back

=head1 BUGS


=head1 SEE ALSO

L<Digest::HMAC>, L<Digest::SHA1>, L<Digest::MD5>, L<Crypt::CBC>,
L<Crypt::Blowfish>, L<Crypt::DES>, L<Crypt::IDEA>, L<LibWeb::Admin>,
L<LibWeb::Crypt>, L<LibWeb::Session>.

=cut



( run in 1.371 second using v1.01-cache-2.11-cpan-39bf76dae61 )