GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Crypt::Digest::SHAKE(3) User Contributed Perl Documentation Crypt::Digest::SHAKE(3)

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

   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
   #...

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

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

 $d->clone();

 $d->reset();

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

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

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

  • CryptX, Crypt::Digest
  • <http://en.wikipedia.org/wiki/SHA-3>
2022-01-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.