Skip to content

Instantly share code, notes, and snippets.

Avatar

James Young jamesyoungdigital

View GitHub Profile
@jamesyoungdigital
jamesyoungdigital / break-short.c
Created Nov 19, 2018 — forked from jhoenicke/break-short.c
Program to brute force private keys from public keys using the baby-step giant-step algorithm.
View break-short.c
/**********************************************************************
* 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>
@jamesyoungdigital
jamesyoungdigital / rainbowtable.py
Created Oct 2, 2018 — forked from lgommans/rainbowtable.py
A toy rainbow table script
View rainbowtable.py
#!/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):