I'm new to crypto, and I've got an idea and I want to get some feedback if it's even a right direction. Let's say that I create a symmetric cipher by using an XOF with a salt and a secret key.
Something like that.
XOR(XOF(salt, secret), plaintext)
When I want to send somebody an encrypted message, I will send both the salt and the ciphertext.
How to break this encryption?