diff options
| author | Devendra | 2013-09-25 13:51:19 +0530 | 
|---|---|---|
| committer | Devendra | 2013-09-25 13:51:19 +0530 | 
| commit | 09d6ea1fa20f87dc648740ffb2a70f67e7e4efa9 (patch) | |
| tree | b1121f01efe49709a85a33f956f1ea572fda4eea /common/PubnubCrypto.py | |
| parent | 2c77bdb1d0725d7203ce7ce94ec675de750974b0 (diff) | |
| download | pubnub-python-09d6ea1fa20f87dc648740ffb2a70f67e7e4efa9.tar.bz2 | |
combining into Pubnub.py, added common async unit test methodCL-9603
Diffstat (limited to 'common/PubnubCrypto.py')
| -rw-r--r-- | common/PubnubCrypto.py | 12 | 
1 files changed, 0 insertions, 12 deletions
| diff --git a/common/PubnubCrypto.py b/common/PubnubCrypto.py index b91e2d9..df7cb8d 100644 --- a/common/PubnubCrypto.py +++ b/common/PubnubCrypto.py @@ -1,14 +1,3 @@ -## www.pubnub.com - PubNub Real-time push service in the cloud.  -# coding=utf8 - -## PubNub Real-time Push APIs and Notifications Framework -## Copyright (c) 2010 Stephen Blum -## http://www.pubnub.com/ - -## ----------------------------------- -## PubNub 3.3.4 Real-time Push Cloud API -## ----------------------------------- -  from Crypto.Cipher import AES  from Crypto.Hash import MD5  from base64 import encodestring, decodestring  @@ -90,4 +79,3 @@ class PubnubCrypto() :          Initial16bytes='0123456789012345'          cipher = AES.new(secret[0:32],AES.MODE_CBC,Initial16bytes)          return self.depad((cipher.decrypt(decodestring(msg)))) -     | 
