Documentation ¶
Overview ¶
Package srp contains implementation of Secure Remote Password protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct { // One of two salts used by the derivation function (see SRP 2FA login) Salt1 []byte // One of two salts used by the derivation function (see SRP 2FA login) Salt2 []byte // Base (see SRP 2FA login) G int // 2048-bit modulus (see SRP 2FA login) P []byte }
Input is hashing algorithm parameters from server.
Copy of tg.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
Click to show internal directories.
Click to hide internal directories.