Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: convert hexadecimal value to encrypted string

by melora (Scribe)
on Dec 11, 2004 at 21:56 UTC ( [id://414157]=note: print w/replies, xml ) Need Help??


in reply to convert hexadecimal value to encrypted string

Here's a hex-to-ASCII thing that I use
$text =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
That would give you the original encrypted string in ASCII form from the encrypted string in hex form. I'm assuming that each ASCII char is stored as two (ASCII) characters of hex.
I don't know if that does what you need... I hope it helps.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found