The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Digest::Skein - Perl interface to the Skein digest algorithm

SYNOPSIS

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

DESCRIPTION

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.

EXPORT

None 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

Radoslaw Zielinski <radek@pld-linux.org>

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