send($msg); } function instaDisc_sendEncrypted($title, $author, $url, $semantics) { $cipher = "rijndael-128"; $mode = "cbc"; $iv = "fedcba9876543210"; $td = mcrypt_module_open($cipher, "", $mode, $iv); mcrypt_generic_init($td, $idusEncryptionPassword, $iv); $title = bin2hex(mcrypt_generic($td, $title)); $author = bin2hex(mcrypt_generic($td, $author)); $url = bin2hex(mcrypt_generic($td, $url)); foreach ($semantics as $name => $value) { $semantics[$name] = bin2hex(mcrypt_generic($td, $value)); } mcrypt_generic_deinit($td); mcrypt_module_close($td); instaDisc_sendItem($title, $author, $url, $semantics); } ?>