3

I recently encountered this question, which is about deciphering some encrypted text encrypted with an unknown algorithm. It's arguably too broad (although I think that it isn't and that the question could lead to interesting and useful answers), but it got closed as off-topic for not being about programming.

My understanding from the help Center is that questions about algorithms are on-topic here. That being said, isn't this particular question on-topic for being about an algorithm?

24
  • 11
    But it's not about an algorithm. It's about finding what algorithm it should be about. It's too broad. The OP needs to put in more effort to make it more on topic or maybe move it in a different stack exchange network where it would be more appropriate (maybe it's a puzzle?)
    – apokryfos
    Commented Feb 14, 2021 at 17:23
  • 1
    I've seen users argue that a post must be about programming. I'm not convinced that it must, as the Help Center says "..a specific programming problem, or a software algorithm, or.." emphasis mine. I'm not sure about a post where the goal is to identify which algorithm is used is fine or not. As for the effort, I do not think it's possible to put more effort into in without also finding the algorithm, so for me that point is moot, even if we required people to put effort into Questions.
    – Scratte
    Commented Feb 14, 2021 at 17:25
  • 3
    I can imagine a question about "How can I establish what algorithm was used to encrypt a given message?" being possibly useful to future readers; but that does not appear to be what this is. This seems to be "someone tell me how this specific message was encrypted", which would only useful to people with the same encrypted message.
    – khelwood
    Commented Feb 14, 2021 at 17:25
  • 4
    @Scratte I'd argue that's not a programming question. I'd further argue it's not a software algorithm, either. I don't see how it belongs on SO. At best we have "algorithm" but we can all agree, it's not a programming question in any way. There is Puzzling which might be more appropriate for solving this. Not sure if other stacks deal with identifying encryption.
    – VLAZ
    Commented Feb 14, 2021 at 17:28
  • 2
    @VLAZ I don't understand your argument that it's not a software algorithm. I see encryption algorithms as software algorithms, just as quicksort are software algorithms. Are you expecting the algorithm to be carried out by hand?
    – Scratte
    Commented Feb 14, 2021 at 17:30
  • 3
    I could see it being closed as too broad, but I'm really not convinced that it is off-topic. Commented Feb 14, 2021 at 17:31
  • 3
    I find it funny that even Cryptography.SE doesn't accept this kind of questions, but SO wants to... why?
    – Andrew T.
    Commented Feb 14, 2021 at 17:32
  • @AndrewT. You could argue that the question is too broad or too localised, but I'm not convinced that it's off-topic. Commented Feb 14, 2021 at 17:35
  • 1
    @Scratte We've used encryption a thousand years since we've had computers to run them through. The name Caesar Cypher does come from Gaius Julius himself dating it close to 2100 years ago. Cryptographic analysis can be done by a computer and some types of encryption are simply unfeasible to do by humans as they require a lot of calculations. Yet, at its core, cryptography is an applied set of rules that humans can and have done. Outside of some extremely computationally heavy algorithms, the encryption should be solvable by hand. I expect that the encryption used was not computer-only.
    – VLAZ
    Commented Feb 14, 2021 at 17:42
  • @VLAZ I see. Can you name a software algorithm that would on-topic and included by the phrasing of the Help Center?
    – Scratte
    Commented Feb 14, 2021 at 17:49
  • 2
    I'd just like to say that in this question I'm looking to reverse engineer a specific algorithm that's implemented in minified javascript on another site (see my question for the site url and details). The claim that the question is "about finding what algorithm it should be about" does not make sense to me. My main critique of the closure is that closing this question helps no one, whereas leaving the question open has a slim (certainly quite slim) chance of helping others in the future, not to mention myself in the present. Where on the web can one raise this question if not StackOverflow?
    – duhaime
    Commented Feb 14, 2021 at 22:09
  • 1
    As I said, I can see arguing for it being too localized or "gimme teh codez," but I really don't see why this is off-topic given that it's about an algorithm. Commented Feb 14, 2021 at 22:42
  • 2
    @duhaime you should probably make it very clear in the question itself that you got both the encrypted and decrypted texts from livebook.manning.com and that you are basically trying to crack their obfuscation system allowing you to access for free to a non-free service.
    – Kaiido
    Commented Feb 15, 2021 at 5:39
  • 3
    "I really don't see why this is off-topic given that it's about an algorithm" are any and all questions about algorithms on topic? Because my understanding is that the questions should be related to software development. "there exists an algorithm" doesn't necessarily mean it's a software development related question. A finance question can also be an algorithm but we have a separate stack for this. We do have two entire stacks which mostly figuring out the algorithms - Puzzling and Code Golf. I've yet to see an argument why SO should house every algorithm possible.
    – VLAZ
    Commented Feb 16, 2021 at 6:43
  • 1
    Still wondering whether my coffee machine is off-topic. Most problems are debugging or algorithms. It's definitely a commonly used tool in programming. And yes, I'm only half joking. Commented Feb 16, 2021 at 6:57

0

Browse other questions tagged .