Layer 220
constructor
passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo;

Parameters

Name Type Description
Salt1 bytes One of two salts used by the derivation function (see SRP 2 FA login )
Salt2 bytes One of two salts used by the derivation function (see SRP 2 FA login )
G int Base (see SRP 2 FA login )
P bytes 2048-bit modulus (see SRP 2 FA login )

Returns

PasswordKdfAlgo

Gogram Example

// Creating PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512Iter100000Sha256ModPow constructor
obj := &tg.PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512Iter100000Sha256ModPow{
    Salt1: []byte{},
    Salt2: []byte{},
    G: 0,
    P: []byte{},
}