Skip to main content

comparePassword

@quik/core


@quik/core / comparePassword

Function: comparePassword()

comparePassword(password, encryptedPassword): boolean

Defined in: utils/Crypto.ts:23

Method used to compare an encrypted password with the one entered by the user.

Parameters

password

string

The password to be compared.

encryptedPassword

string

The encrypted password,

Returns

boolean