You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a quick question from the encryption.php file located in the core folder. Obviously, its a file for encryption and decryption of string data. My question lies in the decrypt($ciphertext) function.
in that function on line 95 you have $macSize = 64; I can't understand where this variable comes from and why its exactly 64.
also, in that same decrypt( ) function, there is on line 97:
$iv_cipher = mb_substr ( $ciphertext, $macSize, NULL , '8bit' ); because of the NULL value, wont this function return an empty string? See: https://www.w3schools.com/php/func_string_substr.asp
The text was updated successfully, but these errors were encountered:
I have a quick question from the encryption.php file located in the core folder. Obviously, its a file for encryption and decryption of string data. My question lies in the decrypt($ciphertext) function.
in that function on line 95 you have $macSize = 64; I can't understand where this variable comes from and why its exactly 64.
also, in that same decrypt( ) function, there is on line 97:
$iv_cipher = mb_substr ( $ciphertext, $macSize, NULL , '8bit' ); because of the NULL value, wont this function return an empty string? See: https://www.w3schools.com/php/func_string_substr.asp
The text was updated successfully, but these errors were encountered: