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