The documentation seems to be bare, so the source is the only place you can use to figure out how to use python bindings. However, it looks like
>>> encrypter = ECC.generate() >>> encrypter.encrypt('your text here')
Should work for encryption. The same should work for all methods defined in pyecc.py
, namely decrypt
, sign
and verify
. Just remember to check the method signatures to see what arguments are needed.
source share