phax has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use diagnostics; print "Enter some text: "; my $text=<STDIN>; chomp($text); my $key=pack("H16","0123456789ABCDEF"); my $cipher=new Crypt::Blowfish $key; my $ciphertext=$cipher ->encrypt($text); while ($plaintext) { print "$ciphertext\n"; }
Title edit by tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Blowfish.pm
by mpd (Monk) on Aug 23, 2003 at 18:03 UTC | |
Re: Blowfish.pm
by esh (Pilgrim) on Aug 23, 2003 at 17:58 UTC | |
Re: Blowfish.pm: "input must be * bytes long"
by Sifmole (Chaplain) on Aug 26, 2003 at 15:13 UTC | |
by phax (Initiate) on Sep 11, 2003 at 21:30 UTC | |
by rich_d_thomas (Sexton) on Oct 07, 2009 at 21:50 UTC |