Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 953 Bytes

readme.md

File metadata and controls

52 lines (43 loc) · 953 Bytes

ECDSA-CLI

A command line interface for digital signatures using elliptic curve digital signature algorithm (ECDSA)

Installation

$ git clone https://github.com/dipkakwani/ecdsa-cli.git
$ cd ecdsa-cli

Create virtual environment and install the dependencies by:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Usage

Generate public and private keys

$ python ecdsa.py keygen

Print the keys

$ python ecdsa.py keys

Sign a message

$ python ecdsa.py sign --message 'Hello world!'

or

$ python ecdsa.py sign
Message: Hello world!

Verify the sign of a message

$ python ecdsa.py verify --message 'Hello world!' --sign 1234 98765 --key 'public.key'

Help

$ python ecdsa.py --help
$ python ecdsa.py verify --help

License


MIT