Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 183 → Rev 184

/relevation/ext/cryptopy-1.2.5.patched/fmath/prime_test.py
3,7 → 3,7
 
Test for prime number routines
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
import unittest
/relevation/ext/cryptopy-1.2.5.patched/fmath/prime.py
2,7 → 2,7
 
Start of prime number routines. Rabin-miller test works, more to come later.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/fmath/__init__.py
1,5 → 1,5
""" fmath module
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
/relevation/ext/cryptopy-1.2.5.patched/fmath/primes_to_5k.py
3,7 → 3,7
All of the prime numbers below 5000
 
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
primes_to_5k = [ 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,
/relevation/ext/cryptopy-1.2.5.patched/LICENSE.txt
1,5 → 1,5
The CryptoPy Artistic License Version 1.0
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Derived from the "Artistic License" at "OpenSource.org".
 
PREAMBLE
/relevation/ext/cryptopy-1.2.5.patched/crypto/keyedHash/pbkdf2_test.py
3,7 → 3,7
 
Unit tests for crypto.keyedHash.pbkdf2
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/keyedHash/pbkdf2.py
6,7 → 6,7
 
This function is used for IEEE 802.11/WPA passphrase to key hashing
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.keyedHash.hmacHash import HMAC_SHA1
/relevation/ext/cryptopy-1.2.5.patched/crypto/keyedHash/__init__.py
2,6 → 2,6
 
The keyedHash package.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
/relevation/ext/cryptopy-1.2.5.patched/crypto/keyedHash/michael_test.py
3,7 → 3,7
 
Tests of the Michael Message Integrity Check Algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.keyedHash.michael import Michael
/relevation/ext/cryptopy-1.2.5.patched/crypto/keyedHash/michael.py
5,7 → 5,7
 
Michael is a 64-bit MIC, with a design strength of 20 bits.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from struct import pack, unpack
/relevation/ext/cryptopy-1.2.5.patched/crypto/passwords/passwordfactory_test.py
3,7 → 3,7
 
Test classes for password generation
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
import unittest
/relevation/ext/cryptopy-1.2.5.patched/crypto/passwords/passwordfactory.py
3,7 → 3,7
Python classes to create and recover passwords. Currently contains
simple password generation. <need to merge the dictionary based pws>
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
August 14, 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/passwords/__init__.py
2,6 → 2,6
 
crypto.passwords package
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
/relevation/ext/cryptopy-1.2.5.patched/crypto/__init__.py
1,6 → 1,6
""" crypto
CryptoPy - pure python cryptographic libraries
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/aes_sbox_analysis.py
5,7 → 5,7
the number and size of the permutation subgroups in the transformation.
Could be extended to examine any Sbox ...
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
2002-12-05 Added validation of equation form of AES
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/trolldoll.py
12,7 → 12,7
 
ALso ... currently just IV .... in test ..
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/aes_test.py
3,7 → 3,7
 
Tests for AES encryption algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
import unittest
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/aes.py
5,7 → 5,7
The AES algorithm is just Rijndael algorithm restricted to the default
blockSize of 128 bits.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
2002-06-01
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/icedoll_test.py
3,7 → 3,7
 
Tests for icedoll encryption algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.cipher.icedoll import Icedoll
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/base.py
6,7 → 6,7
class was written to make the actual algorithm code more readable and
not for performance.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
2002-04-25 changed block input
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/icedoll.py
12,7 → 12,7
Fi = Ek(t,P[i-1]) ; Fi, with i=0 is nonce or a fixed value
C[i] = Fi^Ek(N,P[i]^Fi)
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
June 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/tkip_encr_test.py
2,7 → 2,7
""" crypto.cipher.tkip_encr_test
 
Tests for tkip encryption (mpdu only, no Michael)
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
January 2003 May have broken key mixing ...need to validate
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/tkip_encr.py
5,7 → 5,7
TKIP uses WEP (ARC4 with crc32) and key mixing
This is only the encryption and not the Michael integrity check!
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
November 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/aes_cbc.py
2,7 → 2,7
 
AES_CBC Encryption Algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
2002-06-14
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/tkip_fake_crc_test.py
7,7 → 7,7
dissassociation of all sessions when two of these
malicious packets are recieved in a 60 second period.
 
Copyright © (c) 2003 by Paul A. Lambert.
Copyright (c) 2003 by Paul A. Lambert.
See LICENSE.txt for license terms of this software.
"""
import unittest
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/test_all_ciphers.py
3,7 → 3,7
 
All unit tests in the cipher package
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
import unittest
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/cbc_test.py
3,7 → 3,7
 
Tests for cbc encryption, uses AES for base algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/rijndael_test.py
3,7 → 3,7
 
Tests for the rijndael encryption algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.cipher.rijndael import Rijndael
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/cbc.py
8,7 → 8,7
Note !!!! auto IV uses python default random :-(
should not be 'too bad' (tm) for this cbc applicaiton
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.cipher.base import BlockCipher, padWithPadLen, noPadding
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/arc4_test.py
3,7 → 3,7
 
Tests for arc4 encryption, uses AES for base algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
July 24, 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/rijndael.py
6,7 → 6,7
match FIPS specification for readability. It is not implemented
for performance.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
2002-06-01
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/arc4.py
10,7 → 10,7
ftp://ietf.org/draft-kaukonen-cipher-arcfour-03.txt
Generally munged to map to crypto.cipher calling conventions
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
November 5, 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/wep_test.py
3,7 → 3,7
 
Tests for wep encryption
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
2002-11-05
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/wep.py
2,7 → 2,7
 
The WEP encryption algorithm used in IEEE 802.11
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
September 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/__init__.py
2,7 → 2,7
 
cipher package of CryptoPy
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/ccm_test.py
3,7 → 3,7
 
Tests for CCM encryption, uses AES for base algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
 
July 24, 2002
/relevation/ext/cryptopy-1.2.5.patched/crypto/cipher/ccm.py
7,7 → 7,7
integrity check can optionally include unencrypted 'addAuthData'.
CCM requires a nonce that MUST NEVER repeat for a given key.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.cipher.base import BlockCipherWithIntegrity, noPadding
/relevation/ext/cryptopy-1.2.5.patched/crypto/common.py
1,7 → 1,7
""" crypto.common
Common utility routines for crypto modules
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/app/__init__.py
2,7 → 2,7
 
Sample applications of CryptoPy
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/entropy/__init__.py
2,7 → 2,7
 
Entropy package of CryptoPy
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/entropy/pagingEntropy.py
6,7 → 6,7
 
Just an experiment, not recommended for use at this time.
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
import struct
/relevation/ext/cryptopy-1.2.5.patched/crypto/entropy/prn_rijndael_test.py
3,7 → 3,7
 
Unit test for prn_rijndael
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/entropy/prn_rijndael.py
4,7 → 4,7
The algorithm is based on Section 13.4 of:
"AES Proposal: Rijndael", Joan Daemen, Vincent Rijmen
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/icedoll_test.py
3,7 → 3,7
 
Tests for icedoll encryption algorithm
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from crypto.cipher.icedoll import Icedoll
/relevation/ext/cryptopy-1.2.5.patched/crypto/errors.py
1,7 → 1,7
""" errors
Error classes for cryptographic modules
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/crypto/hash/sha1Hash.py
2,7 → 2,7
 
Wrapper for python sha module to support crypo module standard interface
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
import sha
/relevation/ext/cryptopy-1.2.5.patched/crypto/hash/hash.py
1,7 → 1,7
""" crypto.cipher.hash
Base class for cryptographic hash algorithms
An alternate interface (no 'new').
Copyright © (c) 2002 by Paul A. Lambert.
Copyright (c) 2002 by Paul A. Lambert.
"""
from binascii import b2a_hex
 
/relevation/ext/cryptopy-1.2.5.patched/__init__.py
1,6 → 1,6
""" cryptopy
CryptoPy - pure python cryptographic libraries
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
/relevation/ext/cryptopy-1.2.5.patched/setup.py
12,7 → 12,7
See http://software-carpentry.codesourcery.com/entries/build/Distutils/Distutils.html
for more information about this file
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
 
/relevation/ext/cryptopy-1.2.5.patched/binascii_plus.py
2,7 → 2,7
 
Enhanced hex packet input and display
 
Copyright © (c) 2002 by Paul A. Lambert
Copyright (c) 2002 by Paul A. Lambert
Read LICENSE.txt for license information.
"""
from binascii import a2b_hex, b2a_hex