Crypt.Check (gb.crypt)

Static Function Check ( Password As String, Crypt As String ) As Boolean

Verifica se a string Password corresponde a string Crypt.

Esta função retorna TRUE se a senha não corresponde, e FALSE se for corresponde.

The crypt algorithm is encoded in the crypt string, so you do not need to specify it.

Se Crypt é uma string vazia, então a função sempre retorna FALSE.

Exemplo

If Crypt.Check("Teste", "$1$MGY5TCc7$875huxGTLEue2lZSk8sKi.") = False Then Print "OK"