Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7100
| References | <BANLkTi=dvEzU1OoCMoUMQcOjR-S6cgMX5Q@mail.gmail.com> <20cf307d01dce685d304a4de3dc5@google.com> <BANLkTin5BxqDPC2GsR+_eHuQjfPg6bJ5gA@mail.gmail.com> |
|---|---|
| Date | 2011-06-06 10:41 -0700 |
| Subject | Re: python + php encrypt/decrypt |
| From | geremy condra <debatem1@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2497.1307382091.9059.python-list@python.org> (permalink) |
On Sun, Jun 5, 2011 at 3:34 AM, Peter Irbizon <peterirbizon@gmail.com> wrote: > Hello, thanks, Unfortunatelly I don't understand how xml should resolve my > issue. My problem is: > I am trying to use aes256 cbc on python and php to decrypt "textstring". But > results are not the same in php and python. Any idea why? password and iv is > the same so I don't know where is the problem. I am trying do decrypt data > in python then store it as base64 and read and decrypt it in php. > > 2011/6/4 <hidura@gmail.com> >> >> Use xml to pass the encrypt text. >> >> On , Peter Irbizon <peterirbizon@gmail.com> wrote: >> > >> > Hello, >> > >> > I would like to encrypt text in python and decrypt it in my PHP script. >> > I tried to use pycrypto and some aes php scripts but the results are not the >> > same. Please, is there any example (the best way source codes) how to do >> > this in python and PHP? Please provide links to the AES implementation you're trying to use from PHP and the Python and PHP code you're using. Geremy Condra
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: python + php encrypt/decrypt geremy condra <debatem1@gmail.com> - 2011-06-06 10:41 -0700
Re: python + php encrypt/decrypt miamia <peterirbizon@gmail.com> - 2011-06-06 15:19 -0700
Re: python + php encrypt/decrypt Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-06 17:45 -0600
csiph-web