This file contains 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
#!/usr/bin/perl -w | |
# | |
# test triops against multiple test generated files | |
# random generated files with specified $INCREMENT length | |
# are encrypted with multiple options, and then decrypted | |
# and this output compared with the original file. | |
# Process stops when reaching $LOOPS or an error :-o | |
# Adjustments: $LOOPS, $INCREMENT, $INITIAL_FILE | |
# | |
# https://github.com/circulosmeos/triops |
This file contains 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
#!/usr/bin/env python | |
# https://en.bitcoin.it/wiki/Protocol_documentation#Addresses | |
import hashlib | |
import base58 | |
# ECDSA bitcoin Public Key | |
pubkey = '0450863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b23522cd470243453a299fa9e77237716103abc11a1df38855ed6f2ee187e9c582ba6' | |
# See 'compressed form' at https://en.bitcoin.it/wiki/Protocol_documentation#Signatures | |
compress_pubkey = False |
This file contains 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
#!/usr/bin/env python | |
# patched from https://bitcoin.stackexchange.com/questions/56923/is-this-how-to-generate-a-bitcoin-address-with-python | |
# https://en.bitcoin.it/wiki/Protocol_documentation#Addresses | |
# Adapted to litecoin, following https://bitcoin.stackexchange.com/questions/65282/how-is-a-litecoin-address-generated | |
import hashlib | |
import base58 | |
# ECDSA bitcoin Public Key | |
pubkey = '0450863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b23522cd470243453a299fa9e77237716103abc11a1df38855ed6f2ee187e9c582ba6' |
This file contains 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
#!/usr/bin/env python | |
# convert binary file http://headers.electrum.org/blockchain_headers | |
# to CSV ASCII | |
import binascii | |
STRUCT_OF_BLOCK = [ 4, 32, 32, 4, 4, 4 ] # blockchain_headers does not contain always "0x00" txn_count | |
BLOCK_SIZE = sum(STRUCT_OF_BLOCK) | |
FILE_OUT= open('blockchain_headers.csv','w') |
This file contains 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
#!/usr/bin/env perl | |
# | |
# using presets_GLES.json from https://github.com/circulosmeos/visualization.shadertoy v3.14 | |
# extract snapshots from urls to shadertoy.com using webthumb.bluga.net | |
# (by circulosmeos 2019-04) | |
# | |
use strict; | |
my $LIST_FILE = 'presets_GLES.json'; |