Tags: reverse java 

Rating: 1.0

Although at medium difficulty, this challenge isn't very complicated with some Java knowledge. The algorithm is simple enough, you can study the code yourself :P

```python
alphabet = 'abcdefghijklmnopqrstuvwxyz_!@'
flag = 'spbctf{'
seed = 5
for i in range(7, 23):
flag += alphabet[seed]
seed = seed * 3 % len(alphabet)
flag += '}'
print(flag)
```

Flag: `spbctf{fpqt@_ucgszrwiyo}`

Original writeup (https://github.com/CTF-STeam/ctf-writeups/tree/master/2020/SPbCTF/codeleak).