>>memset+tD
You should study cryptanalysis. This is why rolling your own crypto is dangerous. Not just because the result is going to be insecure, but also because it isn’t particularly educational, but it feels like it is. It is easy to convince yourself you know more than you do if you spend a lot of time playing with bad crypto systems.
Edit: I should add that even if you are an expert in cryptanalysis, you still shouldn’t just roll your own crypto. It’s the analysis of the entire community, not the credentials of the author, that makes modern cryptography so strong.