Skip to content

Instantly share code, notes, and snippets.

@xsamsonx
xsamsonx / break-short.c
Created June 21, 2019 19:41 — 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>