Hi there!
The following question is something I always questioned myself since I started learning crypto: how do you identify what algorithm has been used to encrypt a given cyphertext?

We know that different algorithms have different vulnerabilities. In order to crack the algorithm we should first know what algorithm we're dealing with right?

Is there a way to find out this directly without having to considered all major algorithms when cracking a given cyphertext?