If both communicating sides end up with the same secret 3000-bit key, is it enough to XOR each byte of the messages with each byte of the secret key to make it secure?
Wikipedia says it is, but I wanted to ask if this is still the case nowadays.
That would mean each message can be up to 375 bytes in size, so that each of its bytes can be XOR'd with each of the secret key's bytes, then each byte of the message gets a unique byte to be XOR'd with, no repeating.
Is this scenario secure, or do I have come up with / find some kind of better way to use said 3000-bit key on each side when encrypting/decrypting?
The length of the key doesn't matter here, I'm asking it from a theoretical standpoint.