Skip to content

Instantly share code, notes, and snippets.

View jamesyoungdigital's full-sized avatar

James Young jamesyoungdigital

View GitHub Profile
@jamesyoungdigital
jamesyoungdigital / rainbowtable.py
Created October 2, 2018 06:23 — forked from lgommans/rainbowtable.py
A toy rainbow table script
#!/usr/bin/env python3
import sys
from hashlib import md5
from base64 import b64encode
from binascii import hexlify, unhexlify
from time import time
def reduction_function(hash, max_password_length):
@jamesyoungdigital
jamesyoungdigital / break-short.c
Created November 19, 2018 12:04 — forked from jhoenicke/break-short.c
Program to brute force private keys from public keys using the baby-step giant-step algorithm.
/**********************************************************************
* Copyright (c) 2017, Jochen Hoenicke *
* *
* Compile with: *
* gcc -O2 -I secp256k1/src/ -I secp256k1/ break_short.c -lgmp *
**********************************************************************/
#include "libsecp256k1-config.h"
#include <stdio.h>