This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Pure Python Borromean Ring Signatures | |
DEPENDS ON: pip install ecdsa | |
WARNING: THIS IS A PEDAGOGICAL IMPLEMENTATION. | |
PERFORMANCE IS HORRIBLE AND NON-CONSTANT. | |
CORNER CASES ARE NOT PROPERLY CHECKED. | |
FOR THE LOVE OF GOD USE THE CODE FROM THE ELEMENTS PROJECT. | |
https://gist.github.com/badmofo/2d6e66630e4a6748edb7 | |
''' | |
from hashlib import sha256 |