Digest::Skein - Perl interface to the Skein digest algorithm
use Digest::Skein qw/ digest_512 digest_512_hex /; my $digest = digest_512('foo bar baz'); my $hexdigest = digest_512_hex('foo bar baz');
OO interface:
my $digest = Digest::Skein->new(512)->add('foo bar baz')->digest; my $base64 = Digest::Skein->new(512)->add('foo bar baz')->b64digest; # using the Digest API my $hex = Digest->Skein(256)->add('foo bar baz')->hexdigest
Digest::Skein implements the Skein digest algorithm, submitted to NIST for the SHA-3 competition.
This module follows the Digest.pm API. See Digest for more details.
None by default.
skein_256() skein_512() skein_1024() skein_256_hex() skein_512_hex() skein_1024_hex() skein_256_base64() skein_512_base64() skein_1024_base64()
http://www.schneier.com/skein.html, Digest
Radoslaw Zielinski <radek@pld-linux.org>
Copyright (C) 2008 by Radoslaw Zielinski
The core functionality of this library is provided by code written by Niels Ferguson, Stefan Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon Callas, Jesse Walker; see http://www.schneier.com/skein.html for details.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL).
To install Digest::Skein, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Digest::Skein
CPAN shell
perl -MCPAN -e shell install Digest::Skein
For more information on module installation, please visit the detailed CPAN module installation guide.