The paper investigates the linear complexity of binary sequences generated through matrix recurrence relations over Z4, emphasizing their application in cryptography. These sequences exhibit high linear complexity, which is crucial for secure key sequences used in stream cipher systems. The study employs the Massey-Berkleamp algorithm to analyze the generated sequences, showcasing their potential for secure random number generation.