Documentation ¶
Overview ¶
Пакет srp реализует Secure Random Password protocol, который телеграм использует для реализации 2FA.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModPow ¶
this is simpler struct, copied from PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
type SrpAnswer ¶
copy of InputCheckPasswordSRPObj
func GetInputCheckPassword ¶
GetInputCheckPassword считает нужные для 2FA хеши, описан в доке телеграма: https://core.telegram.org/api/srp#checking-the-password-with-srp
Click to show internal directories.
Click to hide internal directories.