Method of Training and Implementation on the Basis of Neural Networks of Cryptographic Data Protection