use diagnostics;
use strict;
use warnings;
use Test::More tests => 2;
BEGIN {
use_ok('Crypt::Anubis')
};
# Set 2, vector# 6:
BEGIN {
my $key = pack "H32", "00000000000000000000000000000000";
my $cipher = new Crypt::Anubis $key;
my $ciphertext = pack "H32", "c02f6fe33af60b11dc03be9e1d8341b6";
my $plaintext = $cipher->decrypt($ciphertext);
my $answer = unpack "H*", $plaintext;
is("02000000000000000000000000000000", $answer);
};