You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
John-Mark Gurney c3917f27cb forgot that FreeBSD's lib format is slightly different, this should work 2 years ago
..
edgold update to new build infra, python 3, and add instructions.. 2 years ago
.gitignore add an ignore to ignore the *.pyc files.. 8 years ago
README.md update to new build infra, python 3, and add instructions.. 2 years ago
setup.py forgot that FreeBSD's lib format is slightly different, this should work 2 years ago

README.md

Installation

The easiest way to install is to run the command:

pip install 'git+https://git.code.sf.net/p/ed448goldilocks/code#egg=edgold&subdirectory=python'

Usage

This wraps the Ed448 code into a simple to use class, EDDSA448. The easiest way to geenrate a new key is to use the generate class method.

Example:

from edgold.ed448 import EDDSA448

key = EDDSA448.generate()
privkey = key.export(key('raw')
msg = b'This is a message to sign'
sig = key.sign(msg)

pubkey = key.public_key().export_key('raw')
key = EDDSA448(pub=pubkey)
key.verify(sig, msg)