From: Brian Warner Date: Tue, 2 Jan 2007 06:44:12 +0000 (-0700) Subject: filetable_new: import py_ecc, make the tests get a little bit further X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~414 X-Git-Url: https://git.rkrishnan.org/...?a=commitdiff_plain;h=a6678b9a378d1605f5e3634680be0345f3a28bc1;p=tahoe-lafs%2Ftahoe-lafs.git filetable_new: import py_ecc, make the tests get a little bit further --- diff --git a/src/allmydata/encode_new.py b/src/allmydata/encode_new.py index eb6172d2..b7cab187 100644 --- a/src/allmydata/encode_new.py +++ b/src/allmydata/encode_new.py @@ -7,6 +7,7 @@ from Crypto.Cipher import AES import sha from allmydata.util import mathutil from allmydata.util.assertutil import _assert, precondition +from allmydata.py_ecc import rs_code def hash(data): return sha.new(data).digest()