NAME
Catalyst::Plugin::Upload::SHA1 - Compute SHA1 message digest of uploads
SYNOPSIS
use Catalyst qw< Upload::SHA1 >;
if ( my $upload = $c->request->upload('field') ) {
print $upload->sha1sum;
}
DESCRIPTION
Extends Catalyst::Request::Upload
with a SHA1 message digest method. This module is based on Catalyst::Plugin::Upload::MD5 by Christian Hansen.
This module is distributed with a Catalyst example application called Upload::SHA1, see example/Upload-SHA1/README in this distribution for how to run it.
METHODS
- sha1sum
-
Returns an SHA1 message digest of upload in hexadecimal form.
SEE ALSO
Digest::SHA1, Catalyst::Request, Catalyst::Request::Upload. Catalyst::Plugin::Upload::MD5
AUTHOR
Ævar Arnfjörð Bjarmason <avar@cpan.org>
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.