Skip to content

Instantly share code, notes, and snippets.

View Scratch-net's full-sized avatar

Alexey Ermishkin Scratch-net

  • Russia
View GitHub Profile
@Scratch-net
Scratch-net / main.go
Last active May 19, 2020 07:11
An implementation of private contact search by George Tankersley and Filippo Valsorda https://blog.gtank.cc/private-contact-search/
package main
import (
"crypto/rand"
"crypto/sha512"
"fmt"
"time"
"github.com/gtank/ristretto255"
"github.com/thetannerryan/ring"
# ./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=/cygdrive/c/ffmpeg-windows-build-helpers/native_build/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable
### Keybase proof
I hereby claim:
* I am scratch-net on github.
* I am scratch (https://keybase.io/scratch) on keybase.
* I have a public key whose fingerprint is A974 E423 41E1 8E08 3538 2637 F11F D982 F2B0 9277
To claim this, I am signing this object: