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
/********************************************************************** | |
* 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> |
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 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): |