NAME

Crypt::Bear::AES_CBC::Enc - AES-CBC encoder class in BearSSL

VERSION

version 0.002

SYNOPSIS

my $encoder = Crypt::Bear::AES_CBC::Enc->new($key);
my $ciphertext = $d->run($iv, $cipher);

DESCRIPTION

This class represents an AES-CBC encoder. It's a subclass of Crypt::Bear::CBC::Enc and inherits its run and blocksize methods.

METHODS

new($key)

This initializes a new AES_CBC encoder with $key. $key much be appropriately sized for AES (16, 24, or 32 bytes).

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 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.