Let $F : \{0,1\}^n \times \{0,1\}^n \rightarrow \{0,1\}^n $ be a PRF. And let the encryption function be $Enc{_k}(m) = r || (F{_k}(m) \bigoplus r \bigoplus 0^n)$ , where r's value is random. Is this system CCA secure?
I am having trouble deciding this. Since r's length is m(otherwise I wouldn't be able to XOR it with $F{_k}(m)$ I can just split the encrypted message into 2 equal parts, let's say L1 and R1. Then L1 would be equal to r and R1 would be $F{_k}(m) \bigoplus r \bigoplus 0^n$ . Now I know r , $0^n$ doesn't impact my XORING so I am left with $F{_k}(m)$. How can you decide if a random function is CCA secure.
Also I am aware that I might have started on the wrong thought process. Can someone please explain to me the thought process behind deciding if this is CCA secure or not? The answer seems to be obviously not but why?