Share

Python Cryptographic Toolkit

Code

Programming Languages: Python, C

License: BSD License

Repositories

browse code, statistics, last commit on 2001-11-27 cvs -d:pserver:anonymous@cryptkit.cvs.sourceforge.net:/cvsroot/cryptkit login

cvs -z3 -d:pserver:anonymous@cryptkit.cvs.sourceforge.net:/cvsroot/cryptkit co -P modulename

Show:

What's happening?

  • Python Cryptographic Toolkit

    ctsai changed the public information on the Python Cryptographic Toolkit project.

    2009-08-06 16:52:46 UTC by ctsai

  • Python Cryptographic Toolkit

    ctsai changed the public information on the Python Cryptographic Toolkit project.

    2009-08-06 16:49:52 UTC by ctsai

  • Comment: ECC key generation bus error on amd64

    Logged In: YES user_id=31953 Looks like a problem in onb.c, here's a backtrace: #0 0x00002aaab33f4ae4 in opt_inv (a=, dest=0xffffffffffffffff) at src/onb.c:516 #1 0x00002aaab33f2e01 in edbl (p1=0xffff7fff, p3=0x42001ec0, curv=0xffffffffffffffff) at src/eliptic.c:262 #2 0x00002aaab33f3144 in elptic_mul (k=, p=0xd09198, r=0xc62a50,

    2006-10-15 05:53:19 UTC by jeffconnelly

  • Comment: Type string in aes.py

    Logged In: YES user_id=1216160 heres a patch to get it work with any version of Python using the provided Types Module and not string compare ;) --- aes/src/aes.py 2001-11-30 17:30:04.000000000 +0100 +++ /usr/lib/python2.3/site-packages/aes/aes.py 2006-04-29 17:18:30.000000000 +0200 @@ -37,6 +37,7 @@ # #====================================================================...

    2006-04-29 15:28:32 UTC by nuddelaug

  • a signature which causes loop

    Verification goes into an endless loop when I use sig = ('y+\x00\x006\xdf\xfeKo\xf2\xe31cE\x9a\x06',':\xf3\x00\x00]k\x07\xc3b\x83U\xc2jof\xa7') with pubkey = 'KFMnTWdceDAxXHgwMFx4ZTVceGQwXHgxMlx4ZDZceGZiXHgxYjY3XHhlY1x4ODNceDgwXHg4YycKUydVXHg5ZFx4MDFceDAwUlx4YzdceGQ3XHhmNFx4OTVceGZjXHg5OHdceGZhXHhmYmxceDBmJwp0cDEKLg==' with any text. How could I protect against this eventuality?.

    2006-02-17 18:59:58 UTC by rlance

  • ECC key generation bus error on amd64

    On 64-bit platforms, the ecc() constructor dumps core: 0% python Python 2.4.1 (#2, May 20 2005, 03:40:45) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type "help", "copyright", "credits" or "license" for more information. >>> from ecc.ecc import ecc >>> e=ecc(1) zsh: bus error (core dumped) python 138% 0% file python.core python.core: ELF 64-bit LSB core file AMD x86-64, version 1...

    2005-08-09 01:19:31 UTC by jeffconnelly

  • Comment: sha256: Build problems under Windows

    Logged In: YES user_id=31953 I encountered the same problem. I think this fix would be better, because it should work on non-MS Windows compilers: #ifdef _WIN32 #define __WIN32__ #endif.

    2005-07-17 21:41:54 UTC by jeffconnelly

  • Comment: Type string in aes.py

    or rather, if type(data) != str: seems to work with all snake types.

    2004-06-14 15:16:46 UTC by nobody

  • Comment: Type string in aes.py

    Replace if str(type(data)) != "" With if str(type(data)) != "" and str(type(data)) != "": Also occurences in sha256.

    2004-04-12 20:06:42 UTC by nobody

  • Comment: sha256: update function does not work under Python2.3

    it would be better to import types, then do if type(data) != types.StringType: This works for python2.1 onwards.

    2004-03-30 12:00:41 UTC by nobody

Our Numbers