Bug 472808 - RFE: Hashing enhancements
Summary: RFE: Hashing enhancements
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nss
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-24 19:08 UTC by Miloslav Trmač
Modified: 2010-04-14 19:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-14 19:32:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miloslav Trmač 2008-11-24 19:08:30 UTC
Version-Release number of selected component (if applicable):
python-nss-0.1-1.fc10

It would be nice to be able to do the following through python-nss:
* Compute hashes incrementally (using an interface similar to Python's hashlib
  module).  Storing 100MB of data in memory only to hash it is rather wasteful.
* Compute HMAC authentication codes.

Comment 1 John Dennis 2010-04-12 14:44:04 UTC
Since this RFE was first filed python-nss has added more support for hashing, however it did not include a "feed" interface. I'm in the process of adding a number of new features to python-nss which should be available soon. I'll make sure the next release has this functionality. I may ask you to test it before I officially release it :-)

Comment 2 John Dennis 2010-04-14 19:32:23 UTC
Apparently my memory is failing me :-) This functionality was already implemented and has already been pushed out in python-nss-0.8.

see /usr/share/doc/python-nss-0.8/examples/digest_test.py for an example of how to use it.


Note You need to log in before you can comment on or make changes to this bug.