Function computePasswordHash
- computePasswordHash(
 crypto: ICryptoProvider,
 password: Uint8Array,
 salt1: Uint8Array,
 salt2: Uint8Array,
 ): Promise<Uint8Array>
- Parameters- crypto: ICryptoProvider
- password: Uint8Array
- salt1: Uint8Array
- salt2: Uint8Array
 
- Returns Promise<Uint8Array>
Compute password hash as defined by MTProto.
See https://core.telegram.org/api/srp#checking-the-password-with-srp