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