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