Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: usage of Crypt::Rijndael_PP

by fionbarr (Friar)
on Aug 01, 2016 at 16:11 UTC ( [id://1168935]=note: print w/replies, xml ) Need Help??


in reply to Re: usage of Crypt::Rijndael_PP
in thread usage of Crypt::Rijndael_PP

I want to build a string like: $a = "$1,$2,$3,$encrypted_data" the encrypted_data variable doesn't display/concatenate

Replies are listed 'Best First'.
Re^3: usage of Crypt::Rijndael_PP
by stevieb (Canon) on Aug 01, 2016 at 16:19 UTC

    Where is $1, $2 etc coming from? Those are special variables that contain contents of regex captures, which you aren't generating here.

    You also don't have a variable named $encrypted_data. Is this the code you're using? If not, please edit your post and include it.

    Also, add use warnings; and use strict; right above your other use line.

      I apologize for using dummy names for my variables: I do know better. Let me digress:

      I need to use real data to construct the encryption key such that the key may consist of "$user|$server". I want to store the encrypted password in a file that can be accessed by an associated key made up of user etc. I need to construct the encryption key in a sensible way...i.e. not a hex number but real data. I am stumped figuring out how to do this.

Log In?
Username:
Password:

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

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

    No recent polls found