//
pkg.gl
Category
github.com/btcexapi/mtproto
telegram
internal
srp
package
1.0.1
Repository:
https://github.com/btcexapi/mtproto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
159 SLOC
#
Functions
GetInputCheckPassword
GetInputCheckPassword считает нужные для 2FA хеши, описан в доке телеграма: https://core.telegram.org/api/srp#checking-the-password-with-srp.
#
Structs
ModPow
this is simpler struct, copied from PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.
SrpAnswer
copy of InputCheckPasswordSRPObj.