Client and server have given generator 3 and modulus which is 256 bit prime same all the time for all clients and server (simply hardcoded).
They both generate a private exponent and send result to each other and generate secure key. This all is done over insecure channel. That's all simple Diffie-Hellman exchange.
After this step every sent packet is encrypted over simple XOR block cipher by secure key's bytes, in this case 256bit long block.
Is this way of encryption any secure and if yes, how much, if no, what are ways to reverse it, as it is so simple and doesn't use much resources?