Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: DES ECB mode encryption

by thanos1983 (Parson)
on Aug 28, 2014 at 10:27 UTC ( #1098848=note: print w/replies, xml ) Need Help??


in reply to DES ECB mode encryption

Hello v4169sgr,

As AppleFritter pointed out, you really need to have the tools in order to complete your task.

Well because you said that you are a basic user I think you will find this analytic tutorial How to install CPAN modules into ActivePerl very useful. But again you need to have administrative rights.

About installing modules using strawberry Perl you can do it like this from the DOS window:

perl -MCPAN -e shell install Crypt::ECB

Alternatively, you can also download the .tar.gz from CPAN, unzip it and install as you would in Unix:

cd Crypt-ECB-1.45 perl Makefile.PL dmake dmake test dmake install

I found that some people mentioned that they have problems with the nmake command so in that case use the dmake command. More information about the problem you can read here (using dmake instead of nmake on Windows).

I hope this can help you, after you get administrative rights.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^2: DES ECB mode encryption
by bojinlund (Prior) on Aug 28, 2014 at 10:46 UTC
Re^2: DES ECB mode encryption
by v4169sgr (Sexton) on Aug 28, 2014 at 14:15 UTC

    Thanks everyone for their great replies!

    I agree this is largely a social problem that I am trying to work around, but it will unfortunately not be possible for me to change my local machine rights.

    I also agree that VPN && SSL are far superior methods of securing the message stream, but the requirement is to evaluate a product's support for in-message DES ECB mode encryption, only.

    I checked earlier & can confirm that in my copy of the Active State perl distribution, the DES binary is not included. They only distribute SSL by default

    I've tried repeatedly installing using the perl shell route, but we have a proxy here that, even with appropriate authentication, still denies downloads.

    I also hear what you say about installing properly vs just copying the pm files, but I've really no other choice, and frankly copying the pm files into my C: has worked very well for me until now - I've copied perhaps 20-50 pms this way very successfully.

    I'd like to see if I can use the Crypt::DES_PP module. My understanding is that this module is implemented entirely in Perl, and does not require linking to a binary blob, or a C code interface. How would I go about using this module in the current context?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2022-05-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (72 votes). Check out past polls.

    Notices?