Crypt::Digest::SHAKE(3pm) - phpMan

Command: man perldoc info search(apropos)  


Crypt::Digest::SHAKE(3pm)      User Contributed Perl Documentation      Crypt::Digest::SHAKE(3pm)

NAME
       Crypt::Digest::SHAKE - Hash functions SHAKE128, SHAKE256 from SHA3 family

SYNOPSIS
          use Crypt::Digest::SHAKE

          $d = Crypt::Digest::SHAKE->new(128);
          $d->add('any data');
          $d->addfile('filename.dat');
          $d->addfile(*FILEHANDLE);
          $part1 = $d->done(100); # 100 raw bytes
          $part2 = $d->done(100); # another 100 raw bytes
          #...

DESCRIPTION
       Provides an interface to the SHA3's sponge function SHAKE.

METHODS
   new
        $d = Crypt::Digest::SHA3-SHAKE->new($num);
        # $num ... 128 or 256

   clone
        $d->clone();

   reset
        $d->reset();

   add
        $d->add('any data');
        #or
        $d->add('any data', 'more data', 'even more data');

   addfile
        $d->addfile('filename.dat');
        #or
        $d->addfile(*FILEHANDLE);

   done
        $result_raw = $d->done($len);
        # can be called multiple times

SEE ALSO
       o   CryptX, Crypt::Digest

       o   <http://en.wikipedia.org/wiki/SHA-3>

perl v5.34.0                                2022-02-06                  Crypt::Digest::SHAKE(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-01-28 10:21 @3.138.125.199 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!