> For the complete documentation index, see [llms.txt](https://writeups.ayweth20.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://writeups.ayweth20.com/2022/operation-kernel/crypto/scytale.md).

# Scytale

**Catégorie:** Crypto - **Points:** 100 - **Difficulté:** Très simple - **Solves:** 422\
**Description:**\
En fouillant une planque utilisée par des cyber-attaquants, la Police a retrouvé de curieuses bandelettes de papier sur lesquelles sont inscrites des lettres. A quoi peuvent elles bien servir ?\
Bien commencer : Les chiffrements de transposition sont les plus anciens dispositifs de cryptographie militaire connue.\
Fichier :

{% file src="/files/bBINQ1RA3otQ3TmawGdA" %}

**Solution:**\
Pour résoudre ce challenge il faut réussir à déchiffrer le message contenu dans le fichier : `Bj.lsC1_T!iolatKsSA.eueg.{_PA.né..HT14}..efeAhSR..`\
Nous savons qu'il s'agit de la méthode de chiffrement *Sytale*.\
Maintenant ce qu'il reste à faire c'est trouver un site que permette de déchiffrer ce genre de message.\
Sur mon site préféré pour le chiffrement [dCode](https://www.dcode.fr/identification-chiffrement) il y a un outils nommé [Chiffre Scytale](https://www.dcode.fr/chiffre-scytale).\
![image](https://user-images.githubusercontent.com/91023285/178148088-91db0e6f-aad5-47af-9f9f-20ba70eeacad.png)

Et avec cet outil, le flag apparait directement :\
![image](https://user-images.githubusercontent.com/91023285/178148148-d38d4f49-7550-4f8e-a52d-f23cb4668de4.png)

<details>

<summary>🚩 FLAG</summary>

```
HACK{Th1s_1S_SP4RTAA}
```

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://writeups.ayweth20.com/2022/operation-kernel/crypto/scytale.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
