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