The computational implementation of the mathematical process for the encryption by double phase codification using the wave-mixing in a photorefractive BSO, is presented. The influence of the finite size of the cells and the limited numbers of pixel in the security key, on the encryption and decoding process, is analyzed. The numerical results shows the effects obtained when the ideal characteristics of the security key are limited.
Keywords: Encryption, photorefractive crystal BSO, four-wave mixing.