“…In modern communication networks and systems, such information is carried in structured form by Pseudo Random Binary Sequences (PRBS), which are deterministic in nature, include all possible combinations of data up to a given length, have useful statistical properties, and can be generated in a straightforward and reproducible manner (MacWilliams and Sloane 1976). PRBS are also used in the optical domain, where different approaches have been adopted to generate them exclusively by means of light (Zoiros et al 2011;Ma et al 2009;Wu et al 2010;Rakshit et al 2021;Thapa et al 2019;Kouloumentas et al 2009), i.e. all-optically (AO), and employ them in applications with better performance and higher operating speed than the corresponding electronic, such as bit error rate testing (Zoiros et al 2004), binary pattern recognition (Webb et al 2009), error detection/correction (Aikawa et al 2011), parity generation and checking (Dimitriadou et al 2013), encryption/decryption (Zhang et al 2015) and optical code division multiple access (CDMA) (Glesk et al 2017).…”