X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-File-KDBX;a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FCipher%2FStream.pm;h=7ecb396854bc86a6dc707fa7be199119b8500c9e;hp=367619acbd1548bc0055420e2e251b5f1d081247;hb=5950244f5eaeda8ec5f83b236552217ec5d480cb;hpb=8e03ecf8069596b2a3bf7c21a6d72860b06986ff diff --git a/lib/File/KDBX/Cipher/Stream.pm b/lib/File/KDBX/Cipher/Stream.pm index 367619a..7ecb396 100644 --- a/lib/File/KDBX/Cipher/Stream.pm +++ b/lib/File/KDBX/Cipher/Stream.pm @@ -122,6 +122,7 @@ sub _stream { $counter = int($offset / 64); $pos = $offset % 64; } + load $pkg; my $s = $pkg->new($self->key, $self->iv, $counter); # seek to correct position within block $s->keystream($pos) if $pos;