The branch, dharma-pre has been updated
       via  4a46625e597dce03f09efa5d097333c9aa98f6df (commit)
      from  dd4c08964a8b13912dd510c99fd13ea943db8d46 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=4a46625e597dce03f09efa5d097333c9aa98f6df

commit 4a46625e597dce03f09efa5d097333c9aa98f6df
Author: Anssi Hannula <[email protected]>
Date:   Sat Oct 9 18:13:21 2010 +0300

    [script.module.cryptopy] add python file encoding declarations (1.2.6)
    
    Python files containing non-ASCII characters without encoding
    declaration do not work with Python 2.5 and newer as per
    http://www.python.org/dev/peps/pep-0263/
    
    Fix that by adding encoding declaration to all the python files.
    
    Upstream bugreport:
    
http://sourceforge.net/tracker/index.php?func=detail&aid=3019901&group_id=68033&atid=525083

diff --git a/script.module.cryptopy/addon.xml b/script.module.cryptopy/addon.xml
index 7e5f34f..84c8389 100644
--- a/script.module.cryptopy/addon.xml
+++ b/script.module.cryptopy/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.module.cryptopy"
        name="CryptoPy"
-       version="1.2.5" 
+       version="1.2.6"
        provider-name="cryptopy.sourceforge.net">
   <requires>
     <import addon="xbmc.python" version="1.0"/>
diff --git a/script.module.cryptopy/lib/__init__.py 
b/script.module.cryptopy/lib/__init__.py
index f8a28b4..a4a037b 100644
--- a/script.module.cryptopy/lib/__init__.py
+++ b/script.module.cryptopy/lib/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ cryptopy

     CryptoPy - pure python cryptographic libraries

 

diff --git a/script.module.cryptopy/lib/binascii_plus.py 
b/script.module.cryptopy/lib/binascii_plus.py
index 34dacb0..6d9be53 100644
--- a/script.module.cryptopy/lib/binascii_plus.py
+++ b/script.module.cryptopy/lib/binascii_plus.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ binascii_plus

 

     Enhanced hex packet input and display

diff --git a/script.module.cryptopy/lib/crypto/__init__.py 
b/script.module.cryptopy/lib/crypto/__init__.py
index 5c91ca5..c8094a2 100644
--- a/script.module.cryptopy/lib/crypto/__init__.py
+++ b/script.module.cryptopy/lib/crypto/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto

     CryptoPy - pure python cryptographic libraries

 

diff --git a/script.module.cryptopy/lib/crypto/app/__init__.py 
b/script.module.cryptopy/lib/crypto/app/__init__.py
index 5a2881a..7e6998f 100644
--- a/script.module.cryptopy/lib/crypto/app/__init__.py
+++ b/script.module.cryptopy/lib/crypto/app/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.app

 

     Sample applications of CryptoPy

diff --git a/script.module.cryptopy/lib/crypto/app/filecrypt.py 
b/script.module.cryptopy/lib/crypto/app/filecrypt.py
index 41cd6bf..27c7aff 100644
--- a/script.module.cryptopy/lib/crypto/app/filecrypt.py
+++ b/script.module.cryptopy/lib/crypto/app/filecrypt.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ cipher.app.filecrypt

 

     File encryption script.

diff --git a/script.module.cryptopy/lib/crypto/cipher/__init__.py 
b/script.module.cryptopy/lib/crypto/cipher/__init__.py
index cef6618..774861c 100644
--- a/script.module.cryptopy/lib/crypto/cipher/__init__.py
+++ b/script.module.cryptopy/lib/crypto/cipher/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher

 

     cipher package of CryptoPy

diff --git a/script.module.cryptopy/lib/crypto/cipher/aes.py 
b/script.module.cryptopy/lib/crypto/cipher/aes.py
index 4cbb7f5..e709b28 100644
--- a/script.module.cryptopy/lib/crypto/cipher/aes.py
+++ b/script.module.cryptopy/lib/crypto/cipher/aes.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.aes

 

     AES Encryption Algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/aes_cbc.py 
b/script.module.cryptopy/lib/crypto/cipher/aes_cbc.py
index b461d2a..1afd9a1 100644
--- a/script.module.cryptopy/lib/crypto/cipher/aes_cbc.py
+++ b/script.module.cryptopy/lib/crypto/cipher/aes_cbc.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.aes_cbc

 

     AES_CBC Encryption Algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/aes_cbc_test.py 
b/script.module.cryptopy/lib/crypto/cipher/aes_cbc_test.py
index 3465ac2..464b800 100644
--- a/script.module.cryptopy/lib/crypto/cipher/aes_cbc_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/aes_cbc_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.cbc_test

 

     Tests for cbc encryption, uses AES for base algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/aes_sbox_analysis.py 
b/script.module.cryptopy/lib/crypto/cipher/aes_sbox_analysis.py
index fcd7bc1..6ba458e 100644
--- a/script.module.cryptopy/lib/crypto/cipher/aes_sbox_analysis.py
+++ b/script.module.cryptopy/lib/crypto/cipher/aes_sbox_analysis.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.aes_sbox_analysis

 

     AES Sbox Analysis - a simple analysis of the AES Sbox that determines

diff --git a/script.module.cryptopy/lib/crypto/cipher/aes_test.py 
b/script.module.cryptopy/lib/crypto/cipher/aes_test.py
index b6d4f89..f05e6d3 100644
--- a/script.module.cryptopy/lib/crypto/cipher/aes_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/aes_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.aes_test

 

     Tests for AES encryption algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/arc4.py 
b/script.module.cryptopy/lib/crypto/cipher/arc4.py
index 2727b8a..975988f 100644
--- a/script.module.cryptopy/lib/crypto/cipher/arc4.py
+++ b/script.module.cryptopy/lib/crypto/cipher/arc4.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.arc4

 

     A Stream Cipher Encryption Algorithm 'Arcfour'

diff --git a/script.module.cryptopy/lib/crypto/cipher/arc4_test.py 
b/script.module.cryptopy/lib/crypto/cipher/arc4_test.py
index 72a8c55..672f7b1 100644
--- a/script.module.cryptopy/lib/crypto/cipher/arc4_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/arc4_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.arc4_test

 

     Tests for arc4 encryption, uses AES for base algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/base.py 
b/script.module.cryptopy/lib/crypto/cipher/base.py
index b4fe3e5..0a301ee 100644
--- a/script.module.cryptopy/lib/crypto/cipher/base.py
+++ b/script.module.cryptopy/lib/crypto/cipher/base.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.base

 

 

diff --git a/script.module.cryptopy/lib/crypto/cipher/cbc.py 
b/script.module.cryptopy/lib/crypto/cipher/cbc.py
index bce40b8..a301777 100644
--- a/script.module.cryptopy/lib/crypto/cipher/cbc.py
+++ b/script.module.cryptopy/lib/crypto/cipher/cbc.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.cbc

 

     CBC mode of encryption for block ciphers.

diff --git a/script.module.cryptopy/lib/crypto/cipher/cbc_test.py 
b/script.module.cryptopy/lib/crypto/cipher/cbc_test.py
index 03694ed..ae39b8b 100644
--- a/script.module.cryptopy/lib/crypto/cipher/cbc_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/cbc_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.cbc_test

 

     Tests for cbc encryption, uses AES for base algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/ccm.py 
b/script.module.cryptopy/lib/crypto/cipher/ccm.py
index f36203e..9286559 100644
--- a/script.module.cryptopy/lib/crypto/cipher/ccm.py
+++ b/script.module.cryptopy/lib/crypto/cipher/ccm.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.ccm

 

     CCM block cipher mode

diff --git a/script.module.cryptopy/lib/crypto/cipher/ccm_test.py 
b/script.module.cryptopy/lib/crypto/cipher/ccm_test.py
index c0399dc..4f2f53c 100644
--- a/script.module.cryptopy/lib/crypto/cipher/ccm_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/ccm_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.ccm_test

 

     Tests for CCM encryption, uses AES for base algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/icedoll.py 
b/script.module.cryptopy/lib/crypto/cipher/icedoll.py
index 465d44d..0dd6049 100644
--- a/script.module.cryptopy/lib/crypto/cipher/icedoll.py
+++ b/script.module.cryptopy/lib/crypto/cipher/icedoll.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.icedoll

 

     Modification of Rijndael to provide infinite error extension.

diff --git a/script.module.cryptopy/lib/crypto/cipher/icedoll_test.py 
b/script.module.cryptopy/lib/crypto/cipher/icedoll_test.py
index 29d6b32..8677fda 100644
--- a/script.module.cryptopy/lib/crypto/cipher/icedoll_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/icedoll_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.icedoll_test

 

     Tests for icedoll encryption algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/rijndael.py 
b/script.module.cryptopy/lib/crypto/cipher/rijndael.py
index 8e29033..0d4a68c 100644
--- a/script.module.cryptopy/lib/crypto/cipher/rijndael.py
+++ b/script.module.cryptopy/lib/crypto/cipher/rijndael.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.rijndael

 

     Rijndael encryption algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/rijndael_test.py 
b/script.module.cryptopy/lib/crypto/cipher/rijndael_test.py
index 972bc02..b9ab0ea 100644
--- a/script.module.cryptopy/lib/crypto/cipher/rijndael_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/rijndael_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.rijndael_test

 

     Tests for the rijndael encryption algorithm

diff --git a/script.module.cryptopy/lib/crypto/cipher/test_all_ciphers.py 
b/script.module.cryptopy/lib/crypto/cipher/test_all_ciphers.py
index b6d67c1..7bc84b1 100644
--- a/script.module.cryptopy/lib/crypto/cipher/test_all_ciphers.py
+++ b/script.module.cryptopy/lib/crypto/cipher/test_all_ciphers.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.test_all_ciphers

 

     All unit tests in the cipher package

diff --git a/script.module.cryptopy/lib/crypto/cipher/tkip_encr.py 
b/script.module.cryptopy/lib/crypto/cipher/tkip_encr.py
index 3921fbc..54a26da 100644
--- a/script.module.cryptopy/lib/crypto/cipher/tkip_encr.py
+++ b/script.module.cryptopy/lib/crypto/cipher/tkip_encr.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.tkip_encr

 

     TKIP encryption from IEEE 802.11 TGi

diff --git a/script.module.cryptopy/lib/crypto/cipher/tkip_encr_test.py 
b/script.module.cryptopy/lib/crypto/cipher/tkip_encr_test.py
index f324c74..25e6ec5 100644
--- a/script.module.cryptopy/lib/crypto/cipher/tkip_encr_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/tkip_encr_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.tkip_encr_test

 

        Tests for tkip encryption (mpdu only, no Michael)

diff --git a/script.module.cryptopy/lib/crypto/cipher/tkip_fake_crc_test.py 
b/script.module.cryptopy/lib/crypto/cipher/tkip_fake_crc_test.py
index 24be934..5f7a43a 100644
--- a/script.module.cryptopy/lib/crypto/cipher/tkip_fake_crc_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/tkip_fake_crc_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.tkip_fake_crc_test

 

        This module tests the creation of TKIP data that passes

diff --git a/script.module.cryptopy/lib/crypto/cipher/trolldoll.py 
b/script.module.cryptopy/lib/crypto/cipher/trolldoll.py
index 1aece33..bffda9d 100644
--- a/script.module.cryptopy/lib/crypto/cipher/trolldoll.py
+++ b/script.module.cryptopy/lib/crypto/cipher/trolldoll.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.trolldoll

 

     Modification to Icedoll to take advantage of the better error extension

diff --git a/script.module.cryptopy/lib/crypto/cipher/wep.py 
b/script.module.cryptopy/lib/crypto/cipher/wep.py
index da42813..e9cee4b 100644
--- a/script.module.cryptopy/lib/crypto/cipher/wep.py
+++ b/script.module.cryptopy/lib/crypto/cipher/wep.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.wep

 

     The WEP encryption algorithm used in IEEE 802.11

diff --git a/script.module.cryptopy/lib/crypto/cipher/wep_test.py 
b/script.module.cryptopy/lib/crypto/cipher/wep_test.py
index 9c3a363..a21f26f 100644
--- a/script.module.cryptopy/lib/crypto/cipher/wep_test.py
+++ b/script.module.cryptopy/lib/crypto/cipher/wep_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.wep_test

 

     Tests for wep encryption

diff --git a/script.module.cryptopy/lib/crypto/common.py 
b/script.module.cryptopy/lib/crypto/common.py
index 7d378ad..f2713e6 100644
--- a/script.module.cryptopy/lib/crypto/common.py
+++ b/script.module.cryptopy/lib/crypto/common.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.common

     Common utility routines for crypto modules

 

diff --git a/script.module.cryptopy/lib/crypto/entropy/__init__.py 
b/script.module.cryptopy/lib/crypto/entropy/__init__.py
index e6adaa0..de2ec40 100644
--- a/script.module.cryptopy/lib/crypto/entropy/__init__.py
+++ b/script.module.cryptopy/lib/crypto/entropy/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.entropy

 

     Entropy package of CryptoPy

diff --git a/script.module.cryptopy/lib/crypto/entropy/pagingEntropy.py 
b/script.module.cryptopy/lib/crypto/entropy/pagingEntropy.py
index 652a5e4..39fbdb0 100644
--- a/script.module.cryptopy/lib/crypto/entropy/pagingEntropy.py
+++ b/script.module.cryptopy/lib/crypto/entropy/pagingEntropy.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.entropy.pagingEntropy

 

     Uses variations in disk access time to generator entropy.  A long string is

diff --git a/script.module.cryptopy/lib/crypto/entropy/prn_rijndael.py 
b/script.module.cryptopy/lib/crypto/entropy/prn_rijndael.py
index 6de794a..e31b184 100644
--- a/script.module.cryptopy/lib/crypto/entropy/prn_rijndael.py
+++ b/script.module.cryptopy/lib/crypto/entropy/prn_rijndael.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.entropy.prn_rijndael

 

     A Psudeo Random Number Generator based on Rijndael_256k_256b

diff --git a/script.module.cryptopy/lib/crypto/entropy/prn_rijndael_test.py 
b/script.module.cryptopy/lib/crypto/entropy/prn_rijndael_test.py
index 9a6b6cc..eb6a75a 100644
--- a/script.module.cryptopy/lib/crypto/entropy/prn_rijndael_test.py
+++ b/script.module.cryptopy/lib/crypto/entropy/prn_rijndael_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.entropy.prn_rijndael_test

 

     Unit test for prn_rijndael

diff --git a/script.module.cryptopy/lib/crypto/errors.py 
b/script.module.cryptopy/lib/crypto/errors.py
index 9521659..d871b4c 100644
--- a/script.module.cryptopy/lib/crypto/errors.py
+++ b/script.module.cryptopy/lib/crypto/errors.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ errors

     Error classes for cryptographic modules

 

diff --git a/script.module.cryptopy/lib/crypto/hash/__init__.py 
b/script.module.cryptopy/lib/crypto/hash/__init__.py
index 9ed97fc..3f261d4 100644
--- a/script.module.cryptopy/lib/crypto/hash/__init__.py
+++ b/script.module.cryptopy/lib/crypto/hash/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ The crypto.hash package.

     Part of the CryptoPy framework.

 """   

diff --git a/script.module.cryptopy/lib/crypto/hash/hash.py 
b/script.module.cryptopy/lib/crypto/hash/hash.py
index 562e1ad..b2146ad 100644
--- a/script.module.cryptopy/lib/crypto/hash/hash.py
+++ b/script.module.cryptopy/lib/crypto/hash/hash.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """   crypto.cipher.hash

       Base class for cryptographic hash algorithms

       An alternate interface (no 'new').

diff --git a/script.module.cryptopy/lib/crypto/hash/md5Hash.py 
b/script.module.cryptopy/lib/crypto/hash/md5Hash.py
index d905dea..ca38542 100644
--- a/script.module.cryptopy/lib/crypto/hash/md5Hash.py
+++ b/script.module.cryptopy/lib/crypto/hash/md5Hash.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """   md5Hash.py

       Wrapper for python md5 module to support crypo module standard interface

 """

diff --git a/script.module.cryptopy/lib/crypto/hash/md5Hash_test.py 
b/script.module.cryptopy/lib/crypto/hash/md5Hash_test.py
index 391fa4a..b58e1cd 100644
--- a/script.module.cryptopy/lib/crypto/hash/md5Hash_test.py
+++ b/script.module.cryptopy/lib/crypto/hash/md5Hash_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ md5Hash_test.py

     Unit tests for md5Hash.py  (not the default python library!)

     MD5 defined in RFC 1321

diff --git a/script.module.cryptopy/lib/crypto/hash/sha1Hash.py 
b/script.module.cryptopy/lib/crypto/hash/sha1Hash.py
index 6e45377..0826425 100644
--- a/script.module.cryptopy/lib/crypto/hash/sha1Hash.py
+++ b/script.module.cryptopy/lib/crypto/hash/sha1Hash.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.hash.sha1Hash

 

     Wrapper for python sha module to support crypo module standard interface

diff --git a/script.module.cryptopy/lib/crypto/hash/sha1Hash_test.py 
b/script.module.cryptopy/lib/crypto/hash/sha1Hash_test.py
index eb1c1eb..0415108 100644
--- a/script.module.cryptopy/lib/crypto/hash/sha1Hash_test.py
+++ b/script.module.cryptopy/lib/crypto/hash/sha1Hash_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ sha1Hash_test.py

     Unit tests for sha1.py

 """

diff --git a/script.module.cryptopy/lib/crypto/icedoll_test.py 
b/script.module.cryptopy/lib/crypto/icedoll_test.py
index de1b39d..14d1fc6 100644
--- a/script.module.cryptopy/lib/crypto/icedoll_test.py
+++ b/script.module.cryptopy/lib/crypto/icedoll_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.cipher.icedoll_test

 

     Tests for icedoll encryption algorithm

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/__init__.py 
b/script.module.cryptopy/lib/crypto/keyedHash/__init__.py
index 9b25514..be06294 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/__init__.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash

 

     The keyedHash package.

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/hmacHash.py 
b/script.module.cryptopy/lib/crypto/keyedHash/hmacHash.py
index c5bb37f..81e14e7 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/hmacHash.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/hmacHash.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """  hmacHash.py

 

     Implemention of Request for Comments: 2104

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/hmacHash_test.py 
b/script.module.cryptopy/lib/crypto/keyedHash/hmacHash_test.py
index 04cc103..5743a21 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/hmacHash_test.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/hmacHash_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ hmacHash_test.py

     Unit tests for hmacHash.py

 

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/michael.py 
b/script.module.cryptopy/lib/crypto/keyedHash/michael.py
index 770faaf..6d1c7ef 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/michael.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/michael.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.michael

 

     A reference implementation of the Michael Message Integrety Chek (MIC)

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/michael_test.py 
b/script.module.cryptopy/lib/crypto/keyedHash/michael_test.py
index ec986f4..8004fb9 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/michael_test.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/michael_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.michael_test

 

     Tests of the Michael Message Integrity Check Algorithm

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2.py 
b/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2.py
index 3f5ef41..675f411 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.pbkdf2

 

 

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2_test.py 
b/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2_test.py
index f9630dd..f0865db 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2_test.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/pbkdf2_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.pbkdf2_test

 

     Unit tests for crypto.keyedHash.pbkdf2

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11.py 
b/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11.py
index c5c5c66..15fe4ad 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """  prf_dot11.py

 

 The PRF function is used in a number of places in 802.11i

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11_test.py 
b/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11_test.py
index 38e8c2a..08965fb 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11_test.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/prf_dot11_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """  crypto.keyedHash.prf_dot11_test

         Tests of the IEEE 802.11 PRF functions

 """

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing.py 
b/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing.py
index 3a748b1..4847b8a 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.tkip_key_mixing.py

     TKIP Temporal Key Mixing Function reference implementation

 

diff --git 
a/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing_test.py 
b/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing_test.py
index b719049..e970d9d 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing_test.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/tkip_key_mixing_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.tkip_key_mixing

     Tests for TKIP key mixing function

     Paul Lambert

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic.py 
b/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic.py
index 666186e..5468b59 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.keyedHash.tkip_mic

 

     A reference implementation of the TKIP Message Integrety Chek (MIC)

diff --git a/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic_test.py 
b/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic_test.py
index 65b959e..d0f386a 100644
--- a/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic_test.py
+++ b/script.module.cryptopy/lib/crypto/keyedHash/tkip_mic_test.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ Testing of TKIP_MIC Class

 """

 from crypto.keyedHash.tkip_mic import TKIP_MIC

diff --git a/script.module.cryptopy/lib/crypto/passwords/__init__.py 
b/script.module.cryptopy/lib/crypto/passwords/__init__.py
index a81230f..f6051b4 100644
--- a/script.module.cryptopy/lib/crypto/passwords/__init__.py
+++ b/script.module.cryptopy/lib/crypto/passwords/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ CryptoPy - a pure python cryptographic libraries

 

     crypto.passwords package

diff --git a/script.module.cryptopy/lib/crypto/passwords/passwordfactory.py 
b/script.module.cryptopy/lib/crypto/passwords/passwordfactory.py
index b91a1aa..7abdea1 100644
--- a/script.module.cryptopy/lib/crypto/passwords/passwordfactory.py
+++ b/script.module.cryptopy/lib/crypto/passwords/passwordfactory.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ crypto.passwords.passwordfactory

 

     Python classes to create and recover passwords.  Currently contains

diff --git 
a/script.module.cryptopy/lib/crypto/passwords/passwordfactory_test.py 
b/script.module.cryptopy/lib/crypto/passwords/passwordfactory_test.py
index bc91701..8ba4031 100644
--- a/script.module.cryptopy/lib/crypto/passwords/passwordfactory_test.py
+++ b/script.module.cryptopy/lib/crypto/passwords/passwordfactory_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ crypto.passwords.passwordfactory_test

 

     Test classes for password generation

diff --git a/script.module.cryptopy/lib/fmath/__init__.py 
b/script.module.cryptopy/lib/fmath/__init__.py
index 0b43931..05edc52 100644
--- a/script.module.cryptopy/lib/fmath/__init__.py
+++ b/script.module.cryptopy/lib/fmath/__init__.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ fmath module

 

     Copyright © (c) 2002 by Paul A. Lambert

diff --git a/script.module.cryptopy/lib/fmath/prime.py 
b/script.module.cryptopy/lib/fmath/prime.py
index 38df328..53f9ac1 100644
--- a/script.module.cryptopy/lib/fmath/prime.py
+++ b/script.module.cryptopy/lib/fmath/prime.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ fmath.prime

 

     Start of prime number routines. Rabin-miller test works, more to come 
later.

diff --git a/script.module.cryptopy/lib/fmath/prime_test.py 
b/script.module.cryptopy/lib/fmath/prime_test.py
index f8543ac..5e71697 100644
--- a/script.module.cryptopy/lib/fmath/prime_test.py
+++ b/script.module.cryptopy/lib/fmath/prime_test.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python

+# -*- coding: iso-8859-1 -*-
 """ fmath.prime_test

 

     Test for prime number routines

diff --git a/script.module.cryptopy/lib/fmath/primes_to_5k.py 
b/script.module.cryptopy/lib/fmath/primes_to_5k.py
index 1185488..38e2a88 100644
--- a/script.module.cryptopy/lib/fmath/primes_to_5k.py
+++ b/script.module.cryptopy/lib/fmath/primes_to_5k.py
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
 """ fmath.primes_to_5k

 

     All of the prime numbers below 5000


-----------------------------------------------------------------------

Summary of changes:
 script.module.cryptopy/addon.xml                   |    2 +-
 script.module.cryptopy/changelog.txt               |    2 ++
 script.module.cryptopy/lib/__init__.py             |    1 +
 script.module.cryptopy/lib/binascii_plus.py        |    1 +
 script.module.cryptopy/lib/crypto/__init__.py      |    1 +
 script.module.cryptopy/lib/crypto/app/__init__.py  |    1 +
 script.module.cryptopy/lib/crypto/app/filecrypt.py |    1 +
 .../lib/crypto/cipher/__init__.py                  |    1 +
 script.module.cryptopy/lib/crypto/cipher/aes.py    |    1 +
 .../lib/crypto/cipher/aes_cbc.py                   |    1 +
 .../lib/crypto/cipher/aes_cbc_test.py              |    1 +
 .../lib/crypto/cipher/aes_sbox_analysis.py         |    1 +
 .../lib/crypto/cipher/aes_test.py                  |    1 +
 script.module.cryptopy/lib/crypto/cipher/arc4.py   |    1 +
 .../lib/crypto/cipher/arc4_test.py                 |    1 +
 script.module.cryptopy/lib/crypto/cipher/base.py   |    1 +
 script.module.cryptopy/lib/crypto/cipher/cbc.py    |    1 +
 .../lib/crypto/cipher/cbc_test.py                  |    1 +
 script.module.cryptopy/lib/crypto/cipher/ccm.py    |    1 +
 .../lib/crypto/cipher/ccm_test.py                  |    1 +
 .../lib/crypto/cipher/icedoll.py                   |    1 +
 .../lib/crypto/cipher/icedoll_test.py              |    1 +
 .../lib/crypto/cipher/rijndael.py                  |    1 +
 .../lib/crypto/cipher/rijndael_test.py             |    1 +
 .../lib/crypto/cipher/test_all_ciphers.py          |    1 +
 .../lib/crypto/cipher/tkip_encr.py                 |    1 +
 .../lib/crypto/cipher/tkip_encr_test.py            |    1 +
 .../lib/crypto/cipher/tkip_fake_crc_test.py        |    1 +
 .../lib/crypto/cipher/trolldoll.py                 |    1 +
 script.module.cryptopy/lib/crypto/cipher/wep.py    |    1 +
 .../lib/crypto/cipher/wep_test.py                  |    1 +
 script.module.cryptopy/lib/crypto/common.py        |    1 +
 .../lib/crypto/entropy/__init__.py                 |    1 +
 .../lib/crypto/entropy/pagingEntropy.py            |    1 +
 .../lib/crypto/entropy/prn_rijndael.py             |    1 +
 .../lib/crypto/entropy/prn_rijndael_test.py        |    1 +
 script.module.cryptopy/lib/crypto/errors.py        |    1 +
 script.module.cryptopy/lib/crypto/hash/__init__.py |    1 +
 script.module.cryptopy/lib/crypto/hash/hash.py     |    1 +
 script.module.cryptopy/lib/crypto/hash/md5Hash.py  |    1 +
 .../lib/crypto/hash/md5Hash_test.py                |    1 +
 script.module.cryptopy/lib/crypto/hash/sha1Hash.py |    1 +
 .../lib/crypto/hash/sha1Hash_test.py               |    1 +
 script.module.cryptopy/lib/crypto/icedoll_test.py  |    1 +
 .../lib/crypto/keyedHash/__init__.py               |    1 +
 .../lib/crypto/keyedHash/hmacHash.py               |    1 +
 .../lib/crypto/keyedHash/hmacHash_test.py          |    1 +
 .../lib/crypto/keyedHash/michael.py                |    1 +
 .../lib/crypto/keyedHash/michael_test.py           |    1 +
 .../lib/crypto/keyedHash/pbkdf2.py                 |    1 +
 .../lib/crypto/keyedHash/pbkdf2_test.py            |    1 +
 .../lib/crypto/keyedHash/prf_dot11.py              |    1 +
 .../lib/crypto/keyedHash/prf_dot11_test.py         |    1 +
 .../lib/crypto/keyedHash/tkip_key_mixing.py        |    1 +
 .../lib/crypto/keyedHash/tkip_key_mixing_test.py   |    1 +
 .../lib/crypto/keyedHash/tkip_mic.py               |    1 +
 .../lib/crypto/keyedHash/tkip_mic_test.py          |    1 +
 .../lib/crypto/passwords/__init__.py               |    1 +
 .../lib/crypto/passwords/passwordfactory.py        |    1 +
 .../lib/crypto/passwords/passwordfactory_test.py   |    1 +
 script.module.cryptopy/lib/fmath/__init__.py       |    1 +
 script.module.cryptopy/lib/fmath/prime.py          |    1 +
 script.module.cryptopy/lib/fmath/prime_test.py     |    1 +
 script.module.cryptopy/lib/fmath/primes_to_5k.py   |    1 +
 64 files changed, 65 insertions(+), 1 deletions(-)
 create mode 100644 script.module.cryptopy/changelog.txt


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to