Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7100
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <debatem1@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'python.': 0.04; 'python': 0.08; 'base64': 0.09; 'php.': 0.09; 'scripts': 0.10; 'am,': 0.14; 'wrote:': 0.14; 'subject:python': 0.14; 'cc:addr:python-list': 0.17; 'script.': 0.19; 'thanks,': 0.19; 'issue.': 0.19; 'header :In-Reply-To:1': 0.21; 'cc:no real name:2**0': 0.23; 'trying': 0.23; 'code': 0.24; 'xml': 0.26; 'pass': 0.27; 'tried': 0.27; 'example': 0.27; 'message-id:@mail.gmail.com': 0.28; '(the': 0.28; 'problem': 0.28; 'cc:addr:python.org': 0.30; 'cc:addr:gmail.com': 0.30; 'subject: + ': 0.30; 'sun,': 0.30; 'received:209.85.212': 0.34; 'source': 0.34; 'php': 0.34; 'there': 0.35; 'skip:" 10': 0.35; 'store': 0.35; 'cc:2**1': 0.35; 'idea': 0.36; 'subject:/': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'hello,': 0.38; 'problem.': 0.38; 'but': 0.38; 'data': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'should': 0.39; 'received:209': 0.39; 'results': 0.60; 'best': 0.60; 'please,': 0.64; 'why?': 0.73; 'cbc': 0.84; 'received:209.85.212.178': 0.91; 'received :mail-px0-f178.google.com': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Kx4kJ0bvzAP6qiNfZMznY7kxnLOgW028oxT/dguThsg=; b=ulMiIj8s0rkCF28BrYXqT0JRNQSVYXXtzyuPk/W+27OyttOojQAdAdt5L6pDMkOpb3 B1k9aa9Z8BA8uUQoN3UEU6xqozCryhAl8Mu9s3h7jgFWfjMSy6v2TRYLi1bYugaJJroE JXH3FWqlzdKdFGs2KN8dDIpaSUL2PB8K0I4m8= |
| DomainKey-Signature | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Kfx4WioZMKyI7f+tx/VlPgep9+7CuXGPGs0eh41XWYwZmXXhlUgLu0HpNQkVSb5ufH oEmoPYDXq8L90WsZ5AL38zdHB6Eq0B0lSg6KQSNPMC1gjvG/R4FJXsSU5/BX148Rkh+f 6AUrXec+lg9+LVp9ibB1HMY9//Z29IupOWDUk= |
| MIME-Version | 1.0 |
| In-Reply-To | <BANLkTin5BxqDPC2GsR+_eHuQjfPg6bJ5gA@mail.gmail.com> |
| References | <BANLkTi=dvEzU1OoCMoUMQcOjR-S6cgMX5Q@mail.gmail.com> <20cf307d01dce685d304a4de3dc5@google.com> <BANLkTin5BxqDPC2GsR+_eHuQjfPg6bJ5gA@mail.gmail.com> |
| Date | Mon, 6 Jun 2011 10:41:27 -0700 |
| Subject | Re: python + php encrypt/decrypt |
| From | geremy condra <debatem1@gmail.com> |
| To | Peter Irbizon <peterirbizon@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | Python <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2497.1307382091.9059.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1307382091 news.xs4all.nl 49048 [::ffff:82.94.164.166]:49463 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7100 |
Show key headers only | View raw
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