Date: Tue, 23 Apr 2002 12:56:36 -0400 From: "jyclee" <jyclee@hotmail.com> To: <freebsd-questions@FreeBSD.ORG> Subject: RE:: Crypt::CBC error Message-ID: <LAW2-OE67z0tWqhUYLq000004b3@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hrm... I issued those command and received the following error Usage: Crypt::CBC::new(new Crypt::CBC block-cipher) at -e line 2 Is there a apache configuration that I'm not aware of? from all I can tell the tests that came with cbc was passed... why is this error showing? > > > has anyone been receiving an error like this Usage: > > Crypt::CBC::new(new > > > Crypt::CBC block-cipher) when using a script that calls crypt::CBC? > > i pass > > > the tests when running crypt::CBC so does anyone know a solution to > > this > > > error? I'm running freebsd 4.4 and perl 5.00601. Please email me > > if you > > > have a clue. Thanks. > > > > >Have you been able to run the example from the docs (perldoc >Crypt::CBC)? For example, something like: > > perl -MCrypt::CBC -e ' > my $cipher = new Crypt::CBC("my secret key","Blowfish"); > my $ciphertext = $cipher->encrypt("This data is hush hush"); > my $plaintext = $cipher->decrypt($ciphertext); > print $plaintext, "\t", $ciphertext, "\n";' > >Output: >This data is hush hush RandomIV^áÝY»ç@å.4êsG8%m?}#¹;¨í<Ã+[+(>N > > >I didn't see your original code (if you posted it at all) so I couldn't >tell. > >Zach Thompson > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message ----- Original Message ----- Sent: Tuesday, April 23, 2002 12:56 PM > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LAW2-OE67z0tWqhUYLq000004b3>