File::KDBX::Cipher::Stream(3pm)

File::KDBX::Cipher::Stream3pm

A cipher stream encrypter/decrypter

Usage

    use File::KDBX::Cipher::Stream;
    my $cipher = File::KDBX::Cipher::Stream->new(algorithm => $algorithm, key => $key, iv => $iv);

Version

version 0.906

Overview

A subclass of File::KDBX::Cipher for encrypting and decrypting data using a stream cipher.

Attributes

counter

    $counter = $cipher->counter;

Get the initial counter / block count into the keystream.

offset

    $offset = $cipher->offset;

Get the initial byte offset into the keystream. This has precedence over "counter" if both are set.

Methods

crypt

    $ciphertext = $cipher->crypt($plaintext);
    $plaintext = $cipher->crypt($ciphertext);

Encrypt or decrypt some data. These ciphers are symmetric, so encryption and decryption are the same operation. This method is an alias for both "encrypt" in File::KDBX::Cipher and "decrypt" in File::KDBX::Cipher.

keystream

    $stream = $cipher->keystream;

Access the keystream.

dup

    $cipher_copy = $cipher->dup(%attributes);

Get a copy of an existing cipher with the counter reset, optionally applying new attributes.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Bugs

Please report any bugs or feature requests on the bugtracker website <https://github.com/chazmcgarvey/File-KDBX/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Author

Charles McGarvey <[email protected]>

From libfile-kdbx-perl 0.906-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.