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
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

utils.go 215B

123456789101112131415
  1. package obfuscated2
  2. import (
  3. "crypto/aes"
  4. "crypto/cipher"
  5. )
  6. func makeAesCtr(key, iv []byte) cipher.Stream {
  7. block, err := aes.NewCipher(key)
  8. if err != nil {
  9. panic(err)
  10. }
  11. return cipher.NewCTR(block, iv)
  12. }