decrypt Password

open fun decryptPassword(token: String, password: Password)

Method used to decrypt a password

Parameters

token

The token of the user

password

The password to decrypt

Throws

when an error occurred during the decryption


private open fun decryptPassword(decipher: AESServerCipher, password: Password, bypassType: Boolean)

Method used to decrypt a password

Parameters

decipher

The instance used to decrypt the password

password

The password to decrypt

bypassType

Whether bypass the check on the PasswordType

Throws

when an error occurred during the decryption