Applications of Photonic Neural Architectures to Optical Cryptography