cslashm / ECPy

Apache License 2.0
36 stars 24 forks source link

EDDSA with Ed448 and hashlib: shake256 digest() missing parameter #21

Closed matbok closed 3 years ago

matbok commented 3 years ago

When calling EDDSA with Ed448 and hashlib.shake_256 as hasher, an exception is raised because digest() method "takes exactly one argument (0 given)"

matbok commented 3 years ago

I was wrong, because the hash length can be set in the EDDSA object creation