joec_ has asked for the wisdom of the Perl Monks concerning the following question:
I am just going to throw this out there as i have no idea as to whether this is even possible in Perl or whether (most likely) i have the complete and utter wrong end of the stick!
I have a value that has been encoded using Base64 encoding from another application (c#). According to my colleague, this value, when decoded should return a byte array - are they even possible in perl?
Anyway, what i have to do is: take the second byte of this array and XOR it with the first, to return the original value. Then XOR the third with the second and so on and thus construct a string.
Would anyone have any ideas?
Is this going to be possible?
Thanks in advance - Joe.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Base64 and byte arrays
by ikegami (Patriarch) on Feb 05, 2009 at 00:35 UTC | |
by joec_ (Scribe) on Feb 05, 2009 at 00:50 UTC | |
by jwkrahn (Abbot) on Feb 05, 2009 at 02:52 UTC | |
by ikegami (Patriarch) on Feb 05, 2009 at 03:18 UTC | |
by jwkrahn (Abbot) on Feb 05, 2009 at 04:38 UTC | |
by ikegami (Patriarch) on Feb 05, 2009 at 05:01 UTC | |
by gone2015 (Deacon) on Feb 05, 2009 at 16:36 UTC |