Decrypt cyphertext
public static decrypt ( string $cyphertext, string $password, integer $cost, string $cipher = MCRYPT_RIJNDAEL_128, string $mode = MCRYPT_MODE_CBC, string $algo = 'sha256' ) : string | boolean | ||
$cyphertext | string | Cypher text to decrypt |
$password | string | Password that should be used to decrypt input data |
$cost | integer | Number of HMAC iterations to perform on key |
$cipher | string | Mcrypt cipher |
$mode | string | Mcrypt mode |
$algo | string | Hashing algorithm to use for internal operations |
return | string | boolean | Returns false on checksum validation failure |