Yes, it's alread in there
This from the queryobj being used:
public function getEncryptedVal($val) {
$retVal = $val;
$salt = "";
if ($this->Salt) $salt = base64_decode($this->Salt);
if ($retVal !== "") {
$retVal = base64_encode(openssl_encrypt($val,$this->EncryptionAlgorithm,$this->EncryptionKey, OPENSSL_RAW_DATA, $salt));
}
return $retVal;
}