Crypt-HSM

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.009     2023-05-03 17:41:36+02:00 Europe/Amsterdam
          - Add Slot class
          - Add Mechanism class
          - Add provider and slot methods to Session
          - Rename sha-1 keys to sha1

0.008     2023-04-20 17:13:35+02:00 Europe/Amsterdam
          - Deal with compilers insisting on naming unused arguments

0.007     2023-04-19 16:32:09+02:00 Europe/Amsterdam
          - Add streaming interfaces

0.006     2023-04-09 12:16:50+02:00 Europe/Amsterdam
          - Further improve refcounting on compilers without atomics
          - Stricten up pointer usage

0.005     2023-04-05 23:20:57+02:00 Europe/Amsterdam
          - Make refcounting implementation compilers without atomics
          - Make verify throw exceptions on error
          - Move MIN definition up to fix compilation issues
          - Explicitly ask ppport.h for mg_findext

lib/Crypt/HSM/Stream.pm  view on Meta::CPAN


 my $stream = $session->open_encrypt('aes-cbc', $key, $iv);
 my $ciphertext;
 for my $chunk (@chunks) {
   $ciphertext .= $stream->add_data($chunk);
 }
 $ciphertext .= $stream->finish;

=head1 DESCRIPTION

This is a base-class for streaming actions.

=head1 METHODS

=head2 get_state()

Get a copy of the cryptographic operations state of this operation

=head2 set_state($state)

Set a the cryptographic operations state of this operation.



( run in 0.468 second using v1.01-cache-2.11-cpan-4d50c553e7e )