Where is the encryption based on if the string which should be encrypted is empty?
$string = \'\'; // empty string $met_enc = \'aes256\'; $key_enc = \'1234