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