Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: DES ECB mode encryption

by RonW (Parson)
on Aug 28, 2014 at 17:14 UTC ( [id://1098889]=note: print w/replies, xml ) Need Help??


in reply to DES ECB mode encryption

While I haven't used Crypt::DES_PP, ECB mode is trivial. You just encrypt/decrypt the data, 8 bytes at a time, using the same key for every encrypt/decrypt operation.

Since DES (aka Lucifer) was designed to work on early 1970s microprocesses (or even just on an array of logic gates), a pure Perl implementation should not have bad performance, so go ahead and try it.

If you are curious about the various modes of encryption, see http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-19 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found