Date: Mon, 22 Apr 2002 23:52:24 -0400 From: "jyclee" <jyclee@hotmail.com> To: "Zach Thompson" <cublai@lastamericanempire.com>, <freebsd-questions@freebsd.org> Subject: Re: crypt::CBC module problems Message-ID: <LAW2-OE29C4wgKuu8FZ00000913@hotmail.com> References: <001e01c1e965$b3a1f930$b300a8c0@wenk> <20020421180115.E82499@mars.thuis> <007901c1e98e$9b69e200$b300a8c0@wenk> <20020421234922.H82499@mars.thuis> <00bc01c1e99e$cb438930$b300a8c0@wenk> <20020422121031.L82499@mars.thuis> <LAW2-OE63YSl1q4gtop0000007b@hotmail.com> <009201c1ea75$1346ba00$b300a8c0@wenk> <20020422183109.A55733@lastamericanempire.com>
next in thread | previous in thread | raw e-mail | index | archive | help
just toyping with this script from http://www.oakbox.com/scripts/crypto.shtml and get this error Content-type: text/html Software error: Usage: Crypt::CBC::new(new Crypt::CBC block-cipher) at oak.cgi line 54 ----- Original Message ----- From: "Zach Thompson" <cublai@lastamericanempire.com> To: <freebsd-questions@freebsd.org> Sent: Monday, April 22, 2002 8:31 PM Subject: Re: crypt::CBC module problems > > > 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 > 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-OE29C4wgKuu8FZ00000913>