Skip to content

Instantly share code, notes, and snippets.

@roshii
roshii / vector_parser.py
Last active August 24, 2023 20:24
NIST AES test vectors parser
# Read the raw text from a file
with open("input.txt", "r") as file:
raw_text = file.read()
lines = raw_text.strip().split("\n") # Split into lines
data = []
current_operation = None
OPERATION = "encrypt" # Amend to required operation
Verifying that I control the following Nostr public key: npub1vxlqpu554sq6yz3306ayp9sdz087xqpckt9usu20f43gqynuwldsjm2vvs
@roshii
roshii / jmtx.csv
Last active November 13, 2019 15:45
jmtxfinder.py raw result, block 564481 to 603504, https://gist.github.com/AdamISZ/639333568ad98f50354c933057ee32a4
We can't make this file beautiful and searchable because it's too large.
"block","txid","mcov","outputs"
564481,"fd3f9ecec643144bf56fdb5b197628e2cabd1c5cd2d2c62618da36b51b3a6d3e",1008402605,11
564482,"8ea4d89103914646e464d743985fe7ef0219563e0983720d9e58bd3f4a03f630",747936701,12
564484,"d29834ffe1fac2cdcaf1ab947366b6c4869ed2b97b9b9c8501ac08e117720050",121527703,12
564491,"20bdadb450f78e79d8f4b4adcb6a2a5a30a18361bff9bf497459918ccd6f973e",201392143,7
564493,"d9c3d82e2216e778aa6fabfa3d6317c6370e3d1da4aa57a926f05febaf8edf7b",100048951,16
564497,"d1ab1f8b1d1bde7f75748c08211cda32f3ec3b2e7eb12bb18050e6bbcb490425",1298635755,11
564497,"21bdad44d0017fb91fd009f23a3af8fdb7bc4f929651c96430fe346c5bf6bc2b",1553440534,11
564501,"0ba854fbced37925c152b18fee392ec731a19a3ade321be74ff1e9763370ffd5",9951112,96
564503,"949875ae44fecd23572e1d2a600ea50eacea88767d5e7d59ba36f38e0bdde8a6",1507449788,12