Sure thing, as long as it is within the rules.
Given the lack of specificity of the question: it is important to understand the basics before asking this question. Our users cannot be expected to explain cryptographic concepts to a five-year old.
These kind of questions often get closed because the asker is unable to formalize their question or indicate which cryptographic properties need to be met. If the question remains unspecific then it basically becomes a guessing game at which point no concise answer can be constructed.
At best, this situation then devolves into a vicious cycle of revising the questions and answers. Consequently, a moderator like myself may eventually be compelled to close the question because the original query and the (conceptual) answers have become misaligned.
So yes, this seems to be on-topic. But as is often the case, it is more about how to ask the questions and the basic knowledge required. I've often found myself asking a question and having it closed or getting an answer that I wasn't really able to understand.