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