NAME

Crypt::Bear::AES_CTR - AES CTR encoder for BearSSL

VERSION

version 0.002

SYNOPSIS

my $aead = Crypt::Bear::GCM->new(Crypt::Bear::AES_CTR->new($key));

DESCRIPTION

This creates a new AES in CTRCBC mode object. This is useful when combined with CCM, but can also be used on its own. It is a sub-class of Crypt::Bear::CTR.

METHODS

new($key)

new($key)

This initializes a new AES_CTR object 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.