The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use diagnostics;
use strict;
use warnings;
use Test::More tests => 2;
BEGIN {
    use_ok('Crypt::Misty1')
};

BEGIN {
    my $key = pack "H32", "fefefefefefefefefefefefefefefefe";
    my $cipher = new Crypt::Misty1 $key;
    my $plaintext = pack "H16", "fefefefefefefefe";
    my $ciphertext = $cipher->encrypt($plaintext);
    my $answer = unpack "H*", $ciphertext;
    is("b3e9b62f0df07de0", $answer);
};