Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Basic Crypt::Blowfish usage question

by Ryszard (Priest)
on Mar 31, 2002 at 00:17 UTC ( [id://155530]=note: print w/replies, xml ) Need Help??


in reply to Basic Crypt::Blowfish usage question

These lower level routines are for encoding single characters. You need to look at Cypher Block Chaining to do messages of arbitrary length.

Replies are listed 'Best First'.
Re: Re: Basic Crypt::Blowfish usage question
by runrig (Abbot) on Mar 31, 2002 at 04:52 UTC
    Not quite single characters. Crypt::Blowfish is for encrypting 8 characters at a time. You're right that Crypt::CBC is for arbitrary length messages, and can use Crypt::Blowfish, though I have run into trouble where I couldn't decrypt messages sent to me where someone was encrypting with a non-standard CBC.
    -----------
    ooo  O\O  ooo tilly was here :,(
    
Re: Re: Basic Crypt::Blowfish usage question
by DaWolf (Curate) on Mar 31, 2002 at 00:42 UTC
    Could you give some deeper explanation?

    I'm very new to Cryptography and the results I've found by searching the monastery weren't clear enough.

    Thanks a lot for your patience,

    Er Galvão Abbott
    a.k.a. Lobo, DaWolf
    Webdeveloper
      I'm by no means an expert on cryptography, nor the math involved.. ;-)

      Have a look at this, at which point i defer to a more experienced monk to explain the concepts of cypher block chaining.

      Get yourself a copy of Applied Cryptography, its a great book that explains how all this works: various protocols, attacks, algorithms et al. Once you've read it and know all about how to implement good security, go read Secrets and Lies....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://155530]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-28 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found