Skip to content

Instantly share code, notes, and snippets.

Created October 17, 2022 14:10
What would you like to do?
from ed25519_axolotl import (validate_signature, fast_signature)
# This is the master public key for the Secret-4 blockchain.
consensus_io_exchange_pubkey = \
message = """
I have captured the Secret-4 consensus_seed flag!
Let's sign the logbook then dispose of this toxic waste.
-- Andrew Miller
Decentralized Systems Lab
October 6, 2022
signature = bytes.fromhex("e8a9ebb32e9670801d557038e60c07a8c7abc9dddddfca0a50b850cbf880e298"+
assert validate_signature(consensus_io_exchange_pubkey, message.encode('utf-8'), signature)
print('Signature Ok')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment