[tahoe-lafs-trac-stream] [pycryptopp] #42: python hkdf

pycryptopp trac at tahoe-lafs.org
Sun Mar 11 01:04:04 UTC 2012


#42: python hkdf
------------------------+--------------------------
Reporter:  dragonxue    |          Owner:  zooko
    Type:  enhancement  |         Status:  assigned
Priority:  major        |      Milestone:  0.6.0
 Version:  0.5.19       |     Resolution:
Keywords:  hkdf         |  Launchpad Bug:
------------------------+--------------------------

Comment (by zooko):

 It looks like Crypto++'s [source:git/src-
 cryptopp/sha.h?rev=9c884d4ea2c75bc47dc49d4c404bfc5a9fc3b437#L20 sha256] is
 an [source:git/src-
 cryptopp/iterhash.h?rev=9c884d4ea2c75bc47dc49d4c404bfc5a9fc3b437#L79
 IteratedHashWithStaticTransform], which is a [source:git/src-
 cryptopp/cryptlib.h?rev=9c884d4ea2c75bc47dc49d4c404bfc5a9fc3b437#L326
 Clonable], and so the way to implement the {{{.copy()}}} method is
 probably to invoke {{{.Clone()}}} on the Crypto++ sha256 object.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/pycryptopp/ticket/42#comment:6>
pycryptopp <https://tahoe-lafs.org/trac/pycryptopp>



More information about the tahoe-lafs-trac-stream mailing list