---
# System prepended metadata

title: transposition-trial-100pt
tags: [picoCTF, 從零開始的 picoCTF, Cryptography, picoCTF2022]

---

# transposition-trial-100pt
[題目在這](https://play.picoctf.org/practice/challenge/312?category=2&originalEvent=70&page=1)
## 題意
![](https://i.imgur.com/sDTNaYg.png)


## 解題思路
就三個為一組交換，還是用 c++ 寫比較順手，不會用 python 寫 orz

![](https://i.imgur.com/VZVRSoK.png)

文字檔

```cpp=
#include <iostream>
#include <string.h>
using namespace std;

int main(){
    string text = "heTfl g as iicpCTo{7F4NRP051N5_16_35P3X51N3_V091B0AE}2";

    for (int i=0;i<text.size();i+=3){
        char temp = text[i+2];
        text[i+2] = text[i+1];
        text[i+1] = text[i];
        text[i] = temp;
    }
    for(auto i:text)
        cout << i;
}
```

## 困難之處
nope


Date : 2023/04/18 
###### tags: `picoCTF2022` `Cryptography` [`從零開始的 picoCTF`](https://hackmd.io/-KQeDuzrQMOcFNhwU_5eKA?both=) `picoCTF` 