protected static checksum ( string $cyphertext, string $iv, string $key, string $cipher = 'rijndael-128', string $mode = 'cbc', string $algo = 'sha256' ) : string | ||
$cyphertext | string | Cyphertext that needs a checksum. |
$iv | string | Initialization vector. |
$key | string | HMAC key |
$cipher | string | Cipher string |
$mode | string | Cipher mode string |
$algo | string | Hashing algorithm to use for internal operations |
return | string |