kepler has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I was wondering if this is possible. I'm encrypting some strings in Perl using my $encrypted = $str ^ substr($key,0,length($str)); where $key is 255 length. Can I decrypt, in C, the string with decrypted = encrypted ^ key?Kind regards
Kepler
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Encrypt/decrypt string in C and Perl
by choroba (Cardinal) on Sep 18, 2016 at 13:35 UTC | |
by kepler (Scribe) on Sep 18, 2016 at 13:38 UTC | |
|
Re: Encrypt/decrypt string in C and Perl
by BrowserUk (Patriarch) on Sep 18, 2016 at 13:42 UTC |