How can you tell if a Ciphertext is transposition or substitution based?
Transposition: This type of cypher means shifting the character locations but maintaining the character identification unchanged.Replacement Cipher: this form of cypher means that characters are modified. In brief, one character…