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 | |
# | |
# Parsing of `masscan` collected X.509 certificates | |
# to extract RSA moduli for Fast-GCD (factorable.net). | |
# ..threaded Python version. | |
# | |
# Authors: Aaron Zauner <azet@azet.org> | |
# License: CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0) | |
# | |
from __future__ import print_function |
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
/* | |
* compiled with: | |
* g++ -std=c++11 main.c -Wall -lrocksdb -lbz2 -lpthread -lsnappy -lz | |
*/ | |
#include <rocksdb/c.h> | |
#include <stdio.h> | |
#include <stdlib.h> |