use diagnostics;
use strict;
use warnings;
use Test::More tests => 2;
BEGIN {
use_ok('Crypt::Khazad')
};
BEGIN {
my $key = pack "H32", "00000000000000000000000000000000";
my $cipher = new Crypt::Khazad $key;
my $ciphertext = pack "H16", "849f75d2f0dc157e";
my $plaintext = $cipher->decrypt($ciphertext);
my $answer = unpack "H*", $plaintext;
is("0000000000000004", $answer);
};