Tags: crypto cryptography-rsa 

Rating:

Given two files: `1024.txt` and `Keys.assymetric`
First containing encoded with base64 encrypted flag, the second having also base64 encoded public and private RSA keys.

-----

The solution is really simple.
The only thing to do was to use this [RSA encryption/decryption site](https://www.devglan.com/online-tools/rsa-encryption-decryption).
Also we didn't even needed provided private key. Ciphertext and public key was enough.

### Ciphertext:

-----

```
PePAW8C9Lm7yxsyA2MShozuHpDrRZJssZECWAYULMEMq7pfcX4cUyKpWvW8ZVQis+KtxT7pa1LEcq4UvYW8Gm44nTUwPOOzqw86MXonJ8Mwgx9gXlZHNReG/X2+bynejQo36b1axIt9RujXCxXzEsOzO/gpSVE24bgvwwvU+C28=
```

-----

### Public Key:

-----

```
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCO5+gAGMWkPvEtXWLRaqxSm3PeNtMMDfbGQs15Gms7trqxGnK+pjZslc4oVyw6cu5RHrt4YpfGY1VeXG8ZeIiY5BagA7eMP8Rv5ixblyhA51MMDNd/+gNcDZH4MvtM1KsDYYeeD9SXKrBI10znG7nxV4fAB39Y4PW8UzMv8GFVEQIDAQAB
```

-----

What to do?
Go into [this website](https://www.devglan.com/online-tools/rsa-encryption-decryption), scroll down to the `RSA Decryption` field, paste ciphertext to `Enter Encrypted Text to Decrypt (Base64)` field, select `RSA Key Type:` to `Public Key` and just simply paste the base64 Public key. The last step is to select cipher type to just RSA (no ECB).

After all that you should have similar what I have:

![Here solution](https://i.imgur.com/M0rgOTZ.png)