NAME
Digest::Skein - Perl interface to the Skein digest algorithm
SYNOPSIS
use Digest::Skein qw/ skein_512 skein_512_hex /;
my $digest = skein_512('foo bar baz');
my $hexdigest = skein_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;
my $base64 = Digest->new('Skein')->add('foo bar baz')->b64digest; # default is 512
my $digest = Digest->new('Skein', 512)->add('foo bar baz')->digest; # ...just like here
DESCRIPTION
Digest::Skein implements the Skein digest algorithm (specification v1.2), submitted to NIST for the SHA-3 competition.
This module follows the Digest.pm API. See Digest for more details.
EXPORT
Nothing by default.
Exportable functions
skein_256()
skein_512()
skein_1024()
skein_256_hex()
skein_512_hex()
skein_1024_hex()
skein_256_base64()
skein_512_base64()
skein_1024_base64()
SEE ALSO
http://www.schneier.com/skein.html, Digest
AUTHOR
Erwan Mas <erwan+cpan@mas.nom.fr>
COPYRIGHT AND LICENSE
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).