MadelineProtoDocs/old_docs/API_docs_v103/constructors/passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.md
2019-08-15 20:25:16 +02:00

1.2 KiB

title description image
passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow Password kdf algo sha256sha256pbkdf2hmacsh a512iter100000 sha256 mod pow https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow

Back to constructors index

Password kdf algo sha256sha256pbkdf2hmacsh a512iter100000 sha256 mod pow

Attributes:

Name Type Required Description
salt1 bytes Yes Salt1
salt2 bytes Yes Salt2
g int Yes G
p bytes Yes P

Type: PasswordKdfAlgo

Example:

$passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow = ['_' => 'passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow', 'salt1' => 'bytes', 'salt2' => 'bytes', 'g' => int, 'p' => 'bytes'];

Or, if you're into Lua:

passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow={_='passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow', salt1='bytes', salt2='bytes', g=int, p='bytes'}