Crypt::HSM::Digest - A PKCS11 ongoing digesting operation.
version 0.016
my $stream = $session->open_digest('aes-gcm', $key, $iv); for my $chunk (@chunks) { $stream->add_data($chunk); } my $digest = $stream->finish;
This class represents a digestion stream.
This adds data to the digestion.
This adds the value of the identifier $key to the digest.
$key
This finished the digestion and returns the digest.
Leon Timmermans <leont@cpan.org>
This software is copyright (c) 2023 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Crypt::HSM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::HSM
CPAN shell
perl -MCPAN -e shell install Crypt::HSM
For more information on module installation, please visit the detailed CPAN module installation guide.