diff options
author | akuchling <akuchling@rivest.dlitz.net> | 2002-04-04 17:13:16 -0700 |
---|---|---|
committer | akuchling <akuchling@rivest.dlitz.net> | 2002-04-04 17:13:16 -0700 |
commit | 5c410376978a4645b5c43e8b79fc50507f8be92b (patch) | |
tree | 3224037cef9fbf258c865e27f24f5a6880f6b98e /TODO | |
parent | 138d093dbae5140a030235a88dd7c188f30d09c5 (diff) | |
download | pycrypto-5c410376978a4645b5c43e8b79fc50507f8be92b.tar.gz |
[project @ akuchling-20020405001316-1b2007dc2970248e]
[project @ 2002-04-04 16:13:16 by akuchling]
Update file
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,13 +1,17 @@ -Document the functions and macros for adding a new algorithm -Hash functions: - hash_init(), hash_copy(), DIGEST_SIZE, hash_update(), hash_digest() - * Restore RC5, which needs additional keyword arguments * Look at the C code and modernize it to the current memory APIs, class-based exceptions, etc +* Change API to reduce amount of memory copying + +* Document the functions and macros for adding a new algorithm + Hash functions: + hash_init(), hash_copy(), DIGEST_SIZE, hash_update(), hash_digest() + Block functions: + ... + * Break backward compatibility. The interfaces were invented around 1995, back when I was younger and dumber. I'd like to clean them up, cruelly breaking backward compatibility where necessary, and release @@ -15,14 +19,14 @@ the new code as version 2.0 to signal the magnitude of the changes. While we have the chance, we can also drop useless code, rename packages and classes, or whatever. -* Is there any point in keeping the implementations of MD5 and SHA if -Python comes with them? We could just change Crypto/Hash/MD5.py to -just 'from md5 import *', and ditto for Crypto/Hash/SHA.py. +* Should there be a backword-compatibility wrapper for + Crypto/Hash/MD5.py, containing just 'from md5 import *' and a + warning message? (Ditto for Crypto/Hash/SHA.py.) * Modernize the code to current standards (Distutils installation, docstrings, naming conventions, test suites). -* Add AES, and possibly SHA256, SHA512. +* Possibly add SHA256, SHA512. * Public-key stuff: should it remain in this package, or should it be scrapped and the scope restricted to hashing and block encryption? |