use strict;
use Test::More tests => 2;
BEGIN {
use_ok('Crypt::Khazad')
};
BEGIN {
my $key = pack "H32", "ffffffffffffffffffffffffffffffff";
my $cipher = new Crypt::Khazad $key;
my $ciphertext = pack "H16", "9f8b344f0cf811b0";
my $plaintext = $cipher->decrypt($ciphertext);
my $answer = unpack "H*", $plaintext;
is("ffffffffffffffff", $answer);
};