Documentation - v0.27.1
Preparing search index...
@mtcute/node
utils
computeNewPasswordHash
Function computeNewPasswordHash
computeNewPasswordHash
(
crypto
:
ICryptoProvider
,
algo
:
TypePasswordKdfAlgo
,
password
:
string
,
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Compute new password SRP hash as defined by MTProto.
Parameters
crypto
:
ICryptoProvider
Crypto provider
algo
:
TypePasswordKdfAlgo
KDF algorithm
password
:
string
Password
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation - v0.27.1
Loading...
Compute new password SRP hash as defined by MTProto.