1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow | Password kdf algo sha256sha256pbkdf2hmacsh a512iter100000 sha256 mod pow | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
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'];
PWRTelegram json-encoded version:
{"_": "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow", "salt1": {"_": "bytes", "bytes":"base64 encoded bytes"}, "salt2": {"_": "bytes", "bytes":"base64 encoded bytes"}, "g": int, "p": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow={_='passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow', salt1='bytes', salt2='bytes', g=int, p='bytes'}