diff options
Diffstat (limited to 'tools/pyeclib_encode.py')
-rw-r--r-- | tools/pyeclib_encode.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/pyeclib_encode.py b/tools/pyeclib_encode.py index 28563c5..093d1cf 100644 --- a/tools/pyeclib_encode.py +++ b/tools/pyeclib_encode.py @@ -21,12 +21,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import pyeclib from pyeclib.ec_iface import ECDriver -import random -import string -import sys -import os import argparse parser = argparse.ArgumentParser(description='Encoder for PyECLib.') @@ -43,9 +38,7 @@ print("k = %d, m = %d" % (args.k, args.m)) print("ec_type = %s" % args.ec_type) print("filename = %s" % args.filename) -ec_driver = ECDriver( - "pyeclib.core.ECPyECLibDriver", - k=args.k, m=args.m, ec_type=args.ec_type) +ec_driver = ECDriver(k=args.k, m=args.m, ec_type=args.ec_type) # read with open(("%s/%s" % (args.file_dir, args.filename)), "rb") as fp: |