Lines Matching defs:Digest

1 package Digest::SHA;
33 # Inherit from Digest::base if possible
36 require Digest::base;
37 push(@ISA, 'Digest::base');
254 XSLoader::load('Digest::SHA', $VERSION);
259 Digest::SHA->bootstrap($VERSION);
267 Digest::SHA - Perl extension for SHA-1/224/256/384/512
275 use Digest::SHA qw(sha1 sha1_hex sha1_base64 ...);
287 use Digest::SHA;
289 $sha = Digest::SHA->new($alg);
317 use Digest::SHA qw(hmac_sha1 hmac_sha1_hex ...);
325 Digest::SHA is a complete implementation of the NIST Secure Hash Standard.
332 Digest::SHA is written in C for speed. If your platform lacks a
334 slower) L<Digest::SHA::PurePerl> module.
337 in CPAN's L<Digest> module. So, if your applications currently
338 use L<Digest::MD5> and you'd prefer the stronger security of SHA,
345 use Digest::SHA qw(sha256_hex);
354 $state = Digest::SHA->new(256);
367 use Digest::SHA;
369 $sha = Digest::SHA->new(1)->add_bits($bits);
383 use Digest::SHA;
384 print Digest::SHA->new->add("Shaw" x 1962)->getstate;
386 As an added convenience, the Digest::SHA module offers routines to
394 use Digest::SHA qw(hmac_sha256_hex);
404 The rule by which Digest::SHA handles a Unicode string is easy
411 Since a wide character does not fit into a byte, the Digest::SHA
438 By convention, CPAN Digest modules do B<not> pad their Base64 output.
529 CPAN Digest modules. See L</"PADDING OF BASE64 DIGESTS"> for details.
539 Returns a new Digest::SHA object. Allowed values for I<$alg> are 1,
655 Returns a Digest::SHA object representing the SHA state contained
669 Returns a Digest::SHA object that results from calling I<putstate> on
678 has been performed, the Digest::SHA object is automatically reset
702 CPAN Digest modules. See L</"PADDING OF BASE64 DIGESTS"> for details.
770 CPAN Digest modules. See L</"PADDING OF BASE64 DIGESTS"> for details.
776 L<Digest>, L<Digest::SHA::PurePerl>