includes/helpers.php
/**
	 * Decrypts a fast-encrypted string back into its original value. If the underlying data is serialized, it will be
	 * automatically unserialized.
	 *
	 * @param string $value
	 * @return string|mixed
	 */
Decrypts a fast-encrypted string back into its original value. If the underlying data is serialized, it will be
automatically unserialized.

@param string $value
@return string|mixed
Decrypts a fast - encrypted string back into its original value . If the underlying data is serialized it will be automatically unserialized . @param string $value @return string|mixed
function decrypt($value) {
		$decrypted = FastEncrypt::decrypt($value);
		if (is_serialized($decrypted)) {
			$unserialized = @unserialize($decrypted);
			if ($unserialized !== false || $decrypted == "b:0;") {
				return $unserialized;
			}
		}
		return $decrypted;
	}
function decrypt ( $ value ) { $ decrypted = FastEncrypt :: decrypt ( $ value ) ; if ( is_serialized ( $ decrypted ) ) { $ unserialized = @ unserialize ( $ decrypted ) ; if ( $ unserialized !== false || $ decrypted == " b:0; " ) { return $ unserialized ; } } return $ decrypted ; }
Decrypts a fast-encrypted string back into its original value.
Decrypts a fast - encrypted string back into its original value .