PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table ib_rules_conditions (id int, k varchar(10), v varchar(10), ruleId int); ALTER TABLE ib_rules_conditions ADD `hash` VARCHAR(255) GENERATED ALWAYS AS (MD5(CONCAT(k,IFNULL(v, '')))) STORED, ADD INDEX IDX_GROUP (ruleId, k, hash)
Copy Clear
Copy Format Clear
<?php $secret = 'Ote3xsFC3hFA5eoqq64DcBhK'; $iv = substr($secret, 0, 8); var_dump(openssl_decrypt(hex2bin('8f086fe19ad6eddc'), 'DES-EDE3-CBC', $secret, OPENSSL_RAW_DATA, $iv));
Show:  
Copy Clear