Skip to main content

SecurePasswordKdfAlgo

This is a boxed type (a TL class): the Go interface tg.SecurePasswordKdfAlgoClass, implemented by the constructors below. A value of this type is one of them — switch on the concrete type to handle it.

switch v := value.(type) {
case *tg.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000: // securePasswordKdfAlgoPBKDF2HMACSHA512iter100000
case *tg.SecurePasswordKdfAlgoSHA512: // securePasswordKdfAlgoSHA512
case *tg.SecurePasswordKdfAlgoUnknown: // securePasswordKdfAlgoUnknown
}

Constructors

ConstructorTL name
SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000securePasswordKdfAlgoPBKDF2HMACSHA512iter100000
SecurePasswordKdfAlgoSHA512securePasswordKdfAlgoSHA512
SecurePasswordKdfAlgoUnknownsecurePasswordKdfAlgoUnknown

References