Elliptic curve cryptographic algorithms (for educational use).
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
eccrypto
tests
.gitignore
README
setup.py

README

This is a project for the "Mathematics & Cryptography" graduate course at
the Department of Mathematics, University of Athens. The goal is the
implementation of several cryptographic algorithms related to elliptic
curves. It is intended only for educational use.

Installation
============

For installation, the setuptools package is needed.

$ python setup.py install

Key Generation
==============

The first thing we need to do is create a keypair:

$ eccrypto -g mykey -s 384
$ ls
mykey.priv  mykey.pub

This creates two keys, the private key mykey.priv and the public key
mykey.pub, for a 384 bit curve.

Now we can use these keys to do encryption and decryption.

Encryption
==========

$ eccrypto -e -k mykey.pub -i test.txt -o test.enc

Decryption
==========

$ eccrypto -d -k mykey.priv -i test.enc -o original.txt

Help
====

To print the help menu just enter:

$ eccrypto