The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Crypt::KDF::KDF1Generator - KDF1 generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033.

SYNOPSIS

DESCRIPTION

This implementation is based on ISO 18033/P1363a.

FUNCTIONS

$derivedKey = kdf1_generate( $digest, $seed, $len )

Quick functional interface to use KDF1.

METHODS

$kdf = Crypt::KDF::KDF1Generator->new( [options] )

Construct a KDF1 generator.

        -digest the digest to be used as the source of derived keys.
        -digestparam optional parameters for the digest used to derive keys.
        -seed the seed to be used to derive keys.
        -iv optional iv to be used to derive keys.

$kdf->init( [options] )

Initialize the KDF1 generator.

        -digest the digest to be used as the source of derived keys.
        -digestparam optional parameters for the digest used to derive keys.
        -seed the seed to be used to derive keys.
        -iv optional iv to be used to derive keys.

EXAMPLES

SEE ALSO

COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS