catacomb/__init__.py: Rewrite `kcdsaprime' to return the correct length.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 13:12:43 +0000 (13:12 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:51:33 +0000 (17:51 +0000)
commit3aa44e37be6b205c19952db14324cfb588b46731
tree979bec677c5de2f178b9d520f867cd9b6241f5c4
parent54ccbb3b2b6165c3d10e34f9e7a608b49d753b2c
catacomb/__init__.py: Rewrite `kcdsaprime' to return the correct length.

The old version wouldn't return numbers of the correct length reliably.
This new one, written to follow Catacomb's own algorithm, will.
catacomb/__init__.py
t/t-pgen.py