Neural cryptography
Neural cryptography is a branch of cryptography dedicated to analyzing the application of stochastic algorithms, especially artificial neural network algorithms, for use in encryption and cryptanalysis. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Neural cryptography is a branch of cryptography dedicated to analyzing the application of stochastic algorithms, especially artificial neural network algorithms, for use in encryption and cryptanalysis. \sigma_i=\sgn(\sum_{j=1}^{N}w_{ij}x_{ij}) Signum is a simple function, which returns −1,0 or 1: \sgn (x) = \begin{cases} -1 & \text{if } x 0. \end{cases} If the scalar product is 0, the output of the hidden neuron is mapped to −1 in order to ensure a binary output value. The output of neural network is then computed as the multiplication of all values produced by hidden elements: \tau=\prod_{i=1}^{K}\sigma_i Output of the tree parity machine is binary. w_i^+=g(w_i+\sigma_ix_i\Theta(\sigma_i\tau)\Theta(\tau^A\tau^B)) Anti-Hebbian learning rule: w_i^+=g(w_i-\sigma_ix_i\Theta(\sigma_i\tau)\Theta(\tau^A\tau^B)) Random walk: w_i^+=g(w_i+x_i\Theta(\sigma_i\tau)\Theta(\tau^A\tau^B)) Where: \Theta(a,b)=0 if a \ne b otherwise \Theta(a,b)=1 And: g(x) is a function that keeps the w_i in the range \{-L, -L+1,...,0,...,L-1,L\} To provide a brute force attack, an attacker has to test all possible keys (all possible values of weights wij). By hidden neurons, × input neurons and boundary of weights , this gives (2L+1) KN possibilities. For example, the configuration = 3, = 3 and = 100 gives us 3*10 253 key possibilities, making the attack impossible with today's computer power. Output(A) = Output(B) = Output(E): All the three parties update weights in their tree parity machines. Output(A) = Output(B) ≠ Output(E): Parties and update their tree parity machines, but the attacker can not do that. Because of this situation his learning is slower than the synchronization of parties and . It has been proven, that the synchronization of two parties is faster than learning of an attacker. It can be improved by increasing of the synaptic depth L of the neural network. That gives this protocol enough security and an attacker can find out the key only with small probability. \sigma_i=\theta_N(\sum_{j=1}^{N}w_{ij}\oplus x_{ij}) (⊕ means XOR). The function \theta_N(x) is a threshold function, which returns 0 or 1: \theta_N(x) = \begin{cases} 0 & \text{if } x \leq N/2, \\ 1 & \text{if } x > N/2. \end{cases} The output of neural network with two or more hidden neurons can be computed as the exclusive or of the values produced by hidden elements: \tau=\bigoplus_{i=1}^{K}\sigma_i Other configurations of the output layer for K>2 are also possible. This machine has proven to be robust enough against some attacks so it could be used as a cryptographic mean, but it has been shown to be vulnerable to a probabilistic attack.
Cite this
"Neural cryptography". 1776713193. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1350233800 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy