This document presents a novel cryptographic algorithm designed for securing audio and visual files against unauthorized access. The algorithm combines multiple techniques, including dual authorization pins, ant algorithms, logical gates, and indexed arrays, making it highly resilient to hacking attempts while ensuring efficient encryption and decryption processes. Results from experiments indicate effective protection and quicker decryption times, highlighting the robustness of the proposed method.