X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-File-KDBX;a=blobdiff_plain;f=t%2Fcrypt.t;h=69a52efb33dfad5a75382be33bd3e2847f8f78f9;hp=c003a5fc517c35c9b8ca7ca267283c23c2adac0f;hb=8e4a00010331fe5243c9550a7adce09e9e044a23;hpb=99dbb5c5175265d05f9019a15a3b67877408256f diff --git a/t/crypt.t b/t/crypt.t index c003a5f..69a52ef 100644 --- a/t/crypt.t +++ b/t/crypt.t @@ -15,6 +15,7 @@ use Test::More; subtest 'Round-trip block stream' => sub { plan tests => 3; + my $block_cipher = File::KDBX::Cipher->new(uuid => CIPHER_UUID_AES256, key => 0x01 x 32, iv => 0x01 x 16); test_roundtrip($block_cipher, 'Smell the pretty flowers.', @@ -24,6 +25,7 @@ subtest 'Round-trip block stream' => sub { subtest 'Round-trip cipher stream' => sub { plan tests => 3; + my $cipher_stream = File::KDBX::Cipher->new(stream_id => 2, key => 0x01 x 16); test_roundtrip($cipher_stream, 'Smell the pretty flowers.',