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