Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram. If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. package antireplay
  2. import "github.com/cespare/xxhash"
  3. type hasher struct{}
  4. func (h hasher) Sum64(value string) uint64 {
  5. return xxhash.Sum64String(value)
  6. }